Пример #1
0
 protected MovingGameObject(GameField field, CellLocation location, Facing facing) : base(location.ToPoint())
 {
     _field       = field;
     Facing       = facing;
     CellLocation = TargetCellLocation = location;
 }
Пример #2
0
 public void SetLocation(CellLocation loc)
 {
     CellLocation = loc;
     Location     = loc.ToPoint();
 }