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)); }
public void LoadTileSheet(TileSheet tileSheet) { device.LoadTileSheet(tileSheet); DrawMapEvents.OnLoadTileSheet(this, new LoadTilesheetEventArgs(tileSheet, device, textures)); }