public bool CheckConditions(TileManager tileManager, Tile tile, TilePosition pos) { if (condition != null) { return(condition.Validate(tileManager, tile, pos)); } return(true); }
public override bool Validate(TileManager tileManager, Tile tile, TilePosition pos) { tileManager.world.stats.checkedConditions++; return(!condition.Validate(tileManager, tile, pos)); }