public void tick() {
		x = 0.0D;
		y = 0.0D;
		if (Keyboard.isKeyDown(Keyboard.KEY_ESCAPE)) {
			game.finished = true;
		}
		
		if (Keyboard.isKeyDown(Keyboard.KEY_LEFT)) {
			x -= movementSpeed;
		}
		
		if (Keyboard.isKeyDown(Keyboard.KEY_RIGHT)) {
			x += movementSpeed;
		}
		
		if (Keyboard.isKeyDown(Keyboard.KEY_UP)) {
			y += movementSpeed;
		}
		
		if (Keyboard.isKeyDown(Keyboard.KEY_DOWN)) {
			y -= movementSpeed;
		}
		player.x += x;
		player.y += y;
	}