Added to IHpTile

This commit is contained in:
Robert Seifert 2013-06-09 06:13:13 -04:00
parent 1ef0ea0be2
commit 3c43f66dd6

View file

@ -18,4 +18,22 @@ public interface IHpTile
* considered dead
*/
public boolean isAlive();
/**
* Current hp of the tile
*/
public int hp();
/**
* Sets the tiles hp
*
* @param i - amount
* @param increase - increase instead of replace
*/
public void setHp(int i, boolean increase);
/**
* Max hp of the object
*/
public int getMaxHealth();
}