public void LoadTileSheet(TileSheet tileSheet)
        {
            DrawMapEvents.OnBeforeLoadTileSheet(this, new LoadTilesheetEventArgs(tileSheet, device, textures));

            if (!textures.ContainsKey(tileSheet))
            {
                device.LoadTileSheet(tileSheet);
            }

            DrawMapEvents.OnLoadTileSheet(this, new LoadTilesheetEventArgs(tileSheet, device, textures));
        }
Ejemplo n.º 2
0
        public void LoadTileSheet(TileSheet tileSheet)
        {
            device.LoadTileSheet(tileSheet);

            DrawMapEvents.OnLoadTileSheet(this, new LoadTilesheetEventArgs(tileSheet, device, textures));
        }