@@ -0,0 +1,915 @@
+package animus.components;%0A%0Aimport com.artemis.Component;%0A%0Apublic class Destructable extends Component%0A%7B%0A    private int hitPoints;%0A    private int maxHitPoints;%0A%0A    public Destructable ( int initMaxHitPoints )%0A    %7B%0A        maxHitPoints = initMaxHitPoints;%0A    %7D%0A    public Destructable ( int initMaxHitPoints, int initHitPoints )%0A    %7B%0A        maxHitPoints = initMaxHitPoints;%0A        hitPoints = initHitPoints;%0A    %7D%0A%0A    public int getHitPoints()%0A    %7B%0A        return hitPoints;%0A    %7D%0A    public int getMaxHitPoints()%0A    %7B%0A        return maxHitPoints;%0A    %7D%0A%0A    public float getHitPointPercent()%0A    %7B%0A        return ( ( float ) hitPoints / maxHitPoints ) * 100;%0A    %7D%0A%0A    public boolean isDestroyed()%0A    %7B%0A        return ( hitPoints %3C 0 );%0A    %7D%0A%0A    public void heal ( int health )%0A    %7B%0A        hitPoints += health;%0A    %7D%0A    public void damage ( int damage )%0A    %7B%0A        hitPoints -= damage;%0A    %7D%0A%7D%0A

Add Destructable component.