@Override
    public void onSpawnTick(SinglePlayerGame game) {
        Set<Location> entityLocations = game.getEntityLocations(this);
        for (Location loc : entityLocations) {
            Set<Location> emptyLocations = game.getEmptyLocations(loc.x, loc.y, 1);
            for (Location empty : emptyLocations) {
                if (filterByID(game.getSquareNeighbors(empty.x, empty.y, 1), id).size() == 3) {
                   game.spawnEntity(empty.x, empty.y, spawn());
                }
            }
        }
    }