game.subsystems
Class Hull

java.lang.Object
  extended bygame.subsystems.Hull
Direct Known Subclasses:
UnprotectedHull

public abstract class Hull
extends java.lang.Object


Constructor Summary
Hull(double hullStrength)
           
 
Method Summary
 int getHealth()
           
 double getHullStrength()
           
abstract  void integrate(double timestep)
           
 boolean isDestroyed()
           
abstract  void takeDamage(double angle, double damage)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hull

public Hull(double hullStrength)
Method Detail

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()