Ejemplo n.º 1
0
        public Player(MCGame game, InputHandler input)
        {
            this.game  = game;
            this.input = input;
            x          = 24;
            y          = 24;
            stamina    = maxStamina;

            inventory.add(new FurnitureItem(new Workbench()));
            inventory.add(new PowerGloveItem());
        }
Ejemplo n.º 2
0
        public Player(MCGame game, InputHandler input)
        {
            this.game = game;
            this.input = input;
            x = 24;
            y = 24;
            stamina = maxStamina;

            inventory.add(new FurnitureItem(new Workbench()));
            inventory.add(new PowerGloveItem());
        }
Ejemplo n.º 3
0
 public void init(MCGame game, InputHandler input)
 {
     this.input = input;
     this.game = game;
 }
Ejemplo n.º 4
0
 public void init(MCGame game, InputHandler input)
 {
     this.input = input;
     this.game  = game;
 }