Exemplo n.º 1
0
 internal bool IsValid(Building building) => Condition.IsValid(building);
Exemplo n.º 2
0
 internal static BuildingStatus For(Building building)
 {
     Debug.Assert(_statuses != null, "Building statuses not initialized");
     return _statuses.First(status => status.IsValid(building));
 }
Exemplo n.º 3
0
 public ChangeBuildingConditionCommand(Building building, double value)
 {
     _building = building;
     _value = value;
 }