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()); }
public void init(MCGame game, InputHandler input) { this.input = input; this.game = game; }