Ejemplo n.º 1
0
 protected MovingGameObject(GameField field, CellLocation location, Facing facing) : base(location.ToPoint())
 {
     _field       = field;
     Facing       = facing;
     CellLocation = TargetCellLocation = location;
 }
Ejemplo n.º 2
0
 public void SetLocation(CellLocation loc)
 {
     CellLocation = loc;
     Location     = loc.ToPoint();
 }