コード例 #1
0
 public LevelLayer(Level parent)
 {
     WidthInTiles = parent.LevelSettings.WidthInTiles;
     HeightInTiles = parent.LevelSettings.HeightInTiles;
     TileWidth = parent.LevelSettings.TileWidth;
     tileHeight = parent.LevelSettings.TileHeight;
 }
コード例 #2
0
        public MainWindow()
        {
            InitializeComponent();

            level = new Level(40, 40, 32, 32);
        }