Monster-Klasse

public class Monster
{
    private String name;
    private int hitpoints;
    private int maxHitpoints;
    private int strength;
    private int stammina;
    private int agility;
    private int level;
    private int luck;
    private int gold;
    private int armor;
    private int bags;
    private int bagslots;

    public Monster(String N)
    {
        name=N;
        maxHitpoints=12;
        hitpoints=12;
        strength=1;
        stammina=1;
        agility=0;
        level=1;
        luck=1;
        gold=0;
        armor=0;
        bags=0;
        bagslots=5;
               
    }
    public Monster()
    {
        name="Horst";
        maxHitpoints=12;
        hitpoints=12;
        strength=1;
        stammina=1;
        agility=0;
        level=1;
        luck=1;
        gold=0;
        armor=0;
        bags=0;
        bagslots=5;
               
    }
    public String getName()
    {
        return this.name;
    }
    public void hitMonster(Monster x, int h)
    {
        System.out.println(this.getName()+" hits "+x.getName()+"!!");
        System.out.println("  "+x.getName()+" cries and looses "+h+" Hitpoints!");
         x.hitMonster(h);
    }
    public void hitMonster(int x)
    {
       if ((hitpoints-x) > 0){ hitpoints-=x;}else System.out.println(this.getName()+" dies in action...");
    }
    
    public void trainMonster(int str, int sta)
    {
        strength+=str;
        stammina+=sta;
    }
    
    public void trainStammina(int sta)
    {
        stammina+=sta;
    }
    
    public void trainStrength(int str)
    {
        strength+=str;
    }
    public void healMonster()
    {
       hitpoints=maxHitpoints;
       System.out.println(this.getName()+" is healed!");
    }
    public void levelup(int lvl)
    {
        level+=lvl;
        stammina+=lvl;
        strength+=lvl;
        agility+=lvl;
        maxHitpoints+=lvl;
        hitpoints+=lvl;
        luck+=lvl;
        armor+=lvl;
    }
    public void loot(int l)
    {
        gold+=l;
    }
    public void dance()
    {
        luck+=2;
        stammina+=1;
    }
    public void gymnastics()
    {
        agility+=2;
        strength+=1;
        stammina+=3;
    }
    public void buybags(int b)
    {
       if (gold>=2*b)
       {
           bags+=b;
           gold-=(b*2);
           if (bags > bagslots)
           {
                System.out.println("Du kannst nicht mehr Taschen tragen!");
                int c;
                c=bagslots-bags;
                bags=bagslots;
                gold-=(c*2);
            }
        }
        else
        {
            System.out.println("Du hast zu wenig Geld!");
        }
    }
}