Beispiel #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);
 }
Beispiel #2
0
 public MoveLeft(Player player, MapFacade facade)
 {
     this.player = player;
     this.speed  = player.speed;
     this.facade = facade;
 }
Beispiel #3
0
 public MoveRightDown(Player player, MapFacade facade)
 {
     this.player = player;
     this.speed  = player.speed;
     this.facade = facade;
 }