|
|
@ -0,0 +1,13 @@ |
|
|
|
/* |
|
|
|
super class for any object that is alive |
|
|
|
has health, and a boolean isAlive |
|
|
|
every living element can take damage from another Rotational Element |
|
|
|
determines damage by using instanceof |
|
|
|
*/ |
|
|
|
package tanks; |
|
|
|
|
|
|
|
|
|
|
|
public class Living extends RotationalElement |
|
|
|
{ |
|
|
|
|
|
|
|
} |