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