public TileMap(Size burstSize) { outofmaptile.AddEntity(new ImpassableWall()); this.burstSize = burstSize; size = new Size(burstSize.Width*2 + 1, burstSize.Height*2 + 1); center = new Point(burstSize.Width, burstSize.Height); tiles = new Tile[size.Width,size.Height]; for (int i = 0; i < size.Width; i++) { for (int j = 0; j < size.Height; j++) { tiles[i, j] = new Tile(); } } }
public TileWorldBuilder(Size size) { this.size = size; }
public GameMapBuilder(Size size) : base(size) { }
public TileWorld(Size burstSize) { this.map = new TileMap(burstSize); }