public void tick() {
		for (int y = 0; y < height; y++) {
			for (int x = 0; x < width; x++) {
				Tile t = getTile(x, y);
				t.tick(this, x, y);
			}
		}

		for (Entity e : entities) {
			e.tick();
		}
	}