@Override
    public void onMoveTick(int x, int y, Game game) {
        SinglePlayerGame spg = (SinglePlayerGame) game;
        int population = EntityType.filterByID(spg.getSquareNeighbors(x, y, 1), id).size();
        spg.getEntity(x, y).setAlive(population > 1 && population < 4);
    }