Sherwoodwt / SpaceGame

Just a Space game written in Java
1 stars 0 forks source link

Going along with #4, Need an Abstract Superclass for Bullet #18

Closed Sherwoodwt closed 8 years ago

Sherwoodwt commented 8 years ago

Description

As of right now, Bullets are the only thing with shoot logic, but all other weapons that could potentially be added will have the same conditions that Bullets have in Ship.

Requirement

Make a superclass of Bullet called Projectile or something. This class should have all the things that a Projectile would have, the only specific part being the update has a lifetime counter, as all projectiles must end some time.

Subclasses of Projectile provide an image as a minimum. Bullet will meet this minimum, other projectiles will likely override Projectile's methods.

Sherwoodwt commented 8 years ago

Fixed in refactor. Class called Weapon