public abstract class Damageable extends Component
| Modifier and Type | Class and Description |
|---|---|
static class |
Damageable.DamageType |
| Constructor and Description |
|---|
Damageable() |
| Modifier and Type | Method and Description |
|---|---|
void |
damage(double amount) |
abstract void |
damage(double amount,
Damageable.DamageType type) |
getID, getProvider, onProviderChangeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsameTypepublic void damage(double amount)
public abstract void damage(double amount,
Damageable.DamageType type)