game.subsystems
Class Hull
java.lang.Object
game.subsystems.Hull
- Direct Known Subclasses:
- UnprotectedHull
- public abstract class Hull
- extends java.lang.Object
Constructor Summary |
Hull(double hullStrength)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hull
public Hull(double hullStrength)
takeDamage
public abstract void takeDamage(double angle,
double damage)
integrate
public abstract void integrate(double timestep)
isDestroyed
public boolean isDestroyed()
getHullStrength
public double getHullStrength()
getHealth
public int getHealth()