This commit is contained in:
Anuken
2018-12-02 16:56:44 -05:00
parent 5afb5d24d8
commit e33c863162
7 changed files with 17 additions and 5 deletions
@@ -154,6 +154,10 @@ public class TileEntity extends BaseEntity implements TargetTrait, HealthTrait{
}
}
public boolean damaged(){
return health < maxHealth() - 0.00001f;
}
public Tile getTile(){
return tile;
}