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

Variable Index

 o bodyLocation

Constructor Index

 o Armor()

Method Index

 o absorb(int)
Return the damage NOT absorbed.
 o getBodyLocation()
Get the armor body location.
 o isEquipped()
 o load()
Load armor instance
 o loadArmor(int)
Load armor

Variables

 o bodyLocation
 protected byte bodyLocation

Constructors

 o Armor
 public Armor()

Methods

 o isEquipped
 public boolean isEquipped()
 o absorb
 public int absorb(int dmg)
Return the damage NOT absorbed. Apply absorbed damage to rating.

 o getBodyLocation
 public byte getBodyLocation()
Get the armor body location.

 o loadArmor
 public static Armor loadArmor(int id)
Load armor

 o load
 public void load()
Load armor instance

Overrides:
load in class GameObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index