@@ -0,0 +1,860 @@
+package animus.components;%0A%0Aimport com.artemis.Component;%0A%0Apublic class Stamina extends Component%0A%7B%0A    private int stamina;%0A    private int maxStamina;%0A%0A    public Stamina ( int initStamina )%0A    %7B%0A        maxStamina = initStamina;%0A    %7D%0A    public Stamina ( int initMaxStamina, int initStamina )%0A    %7B%0A        maxStamina = initMaxStamina;%0A        stamina = initStamina;%0A    %7D%0A%0A    public int getStamina()%0A    %7B%0A        return stamina;%0A    %7D%0A    public int getMaxStamina()%0A    %7B%0A        return maxStamina;%0A    %7D%0A%0A    public float getHitPointPercent()%0A    %7B%0A        return ( ( float ) stamina / maxStamina ) * 100;%0A    %7D%0A%0A    public boolean isDestroyed()%0A    %7B%0A        return ( stamina %3C 0 );%0A    %7D%0A%0A    public void increase ( int amount )%0A    %7B%0A        stamina += amount;%0A    %7D%0A    public void decrease ( int amount )%0A    %7B%0A        stamina -= amount;%0A    %7D%0A%7D%0A

Add Stamina component.