public Player(World world, String name, int x, int y) {
super(null, name, x, y, 1);
this.level = world.getLevel();
this.inventory = new Inventory(0, "Player Inventory", 20);
this.bounds = new LocalBounds(8, 4, 4, 12);
health = 3;
this.renderLayer = 3;
if (world.getGame() != null) {
this.game = world.getGame();
this.input = game.input;