Exemplo n.º 1
0
Arquivo: Map.cs Projeto: MatasGos/BMAN
 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);
 }
Exemplo n.º 2
0
 public MoveLeft(Player player, MapFacade facade)
 {
     this.player = player;
     this.speed  = player.speed;
     this.facade = facade;
 }
Exemplo n.º 3
0
 public MoveRightDown(Player player, MapFacade facade)
 {
     this.player = player;
     this.speed  = player.speed;
     this.facade = facade;
 }