All Packages Class Hierarchy This Package Previous Next Index
Class sso.Armor
java.lang.Object
|
+----sso.Persistant
|
+----sso.GameObject
|
+----sso.Armor
- public class Armor
- extends GameObject
-
bodyLocation
-
-
Armor()
-
-
absorb(int)
- Return the damage NOT absorbed.
-
getBodyLocation()
- Get the armor body location.
-
isEquipped()
-
-
load()
- Load armor instance
-
loadArmor(int)
- Load armor
bodyLocation
protected byte bodyLocation
Armor
public Armor()
isEquipped
public boolean isEquipped()
absorb
public int absorb(int dmg)
- Return the damage NOT absorbed. Apply absorbed damage to rating.
getBodyLocation
public byte getBodyLocation()
- Get the armor body location.
loadArmor
public static Armor loadArmor(int id)
- Load armor
load
public void load()
- Load armor instance
- Overrides:
- load in class GameObject
All Packages Class Hierarchy This Package Previous Next Index