Пример #1
0
 public Map(int xSize, int ySize)
 {
     this.xSize = xSize;
     this.ySize = ySize;
     units      = new Unit[xSize, ySize];
     explosions = new Explosive[xSize, ySize];
     mapFacade  = new MapFacade(xSize, ySize, units, explosions);
 }
Пример #2
0
 public MoveLeft(Player player, MapFacade facade)
 {
     this.player = player;
     this.speed  = player.speed;
     this.facade = facade;
 }
Пример #3
0
 public MoveRightDown(Player player, MapFacade facade)
 {
     this.player = player;
     this.speed  = player.speed;
     this.facade = facade;
 }