public GameSpawns(GameData data) { Spawns = new Dictionary<uint, GameSpawn>(); m_data = data; }
private void CommonInitialization() { InitializeComponent(); m_data = new MapData(this); m_data.DataChanged += new GenericEvent(m_data_DataChanged); m_game = new GameData(this); m_game.Updated += new GenericEvent(m_game_Updated); m_MapAltMatrix = new ColorMatrix(); m_MapAltMatrix.Matrix33 = m_MapAltOpacity; m_MapAltAttr = new ImageAttributes(); m_MapAltAttr.SetColorMatrix(m_MapAltMatrix); pCacheMapLine = new Pen(Color.White, m_scaleThickness ? 1 : 0); }