public LevelLayer(Level parent) { WidthInTiles = parent.LevelSettings.WidthInTiles; HeightInTiles = parent.LevelSettings.HeightInTiles; TileWidth = parent.LevelSettings.TileWidth; tileHeight = parent.LevelSettings.TileHeight; }
public MainWindow() { InitializeComponent(); level = new Level(40, 40, 32, 32); }