public Unit(int x, int y, Sprite sprite, int MOV, int TEAM)
    {
        this.x = this.pX = x;
        this.y = this.pY = y;
        this.dX = x * Game.TILESIZE;
        this.dY = y * Game.TILESIZE;
        this.sprite = sprite;
        this.mov = MOV != -1 ? MOV : 5; //Defaults to 5
        this.team = TEAM;
        this.inventory = new Inventory(5);
        classID = 0;
        
        this.exp = 15;
        this.maxHP = 50;
        this.hp = 40;
        this.maxMP = 20;
        this.mp = 15;
        this.atk = 25-10*team;
        this.def = 5;
        
        btList.put(0, "Attack " + x);
        //btList.put(5, "Cancel " + y);
        //btList.put(6, "Done " + dX);
        if(TEAM == 1)
        {
            btList.put(7, "Reset Moves " + dY);
        }
    }