public SLocation(SPlace place) { _place = place; _row = SRow.none; }
public bool Equals(SPlace place) { return(_place == place && (place != SPlace.board || _row != SRow.none)); }
public SCheckPoint(CheckPoint checkPoint, SPlace place) { Id = checkPoint.Id; Place = place; }
public SCheckPointExtended(CheckPoint checkPoint, SPlace place, Culture culture) : base(checkPoint, place) { AverageTime = checkPoint.AverageTime; AverageTimeFormatted = checkPoint.FormatAverageTime(culture); }
public static CardPredicat located(SPlace place) { return((c) => { return c.location.Equals(place); }); }
public SCheckPointExtended(CheckPoint checkPoint, SPlace place,Culture culture) : base(checkPoint,place) { AverageTime = checkPoint.AverageTime; AverageTimeFormatted = checkPoint.FormatAverageTime(culture); }
// move a group of units to somewhere public SCards move(SPlace place) { return(move(new SLocation(place))); }
public void setLocation(SPlace place) { foreachCard((c) => { c.location = new SLocation(place); }); }