public void putPlayer(MovableEntity player) {
    if ((playerSpawnX < width && playerSpawnY < height) && (playerSpawnX >= 0 && playerSpawnY >= 0)) {
      data[playerSpawnY][playerSpawnX].addEntity(player);
      player.setX(playerSpawnX);
      player.setY(playerSpawnY);
      player.setSecenery(data[playerSpawnY][playerSpawnX]);
    } else {
      throw new AssertionError("Player spawned off the map");
    }
  }