示例#1
0
        public MapControl3D()
        {
            this.Config = new MapControlConfig();

            this.HoverTileView = new TileAreaView();
            this.SelectionTileAreaView = new TileAreaView();

            m_game = new MyGame(this);

            m_game.CursorService.LocationChanged += OnCursorMoved;
            m_game.SelectionService.SelectionChanged += OnSelectionChanged;
            m_game.SelectionService.GotSelection += OnGotSelection;

            m_game.Start();

            m_toolTipService = new ToolTipService(this);
        }
示例#2
0
        public MapControl3D()
        {
            this.Config = new MapControlConfig();

            this.HoverTileView         = new TileAreaView();
            this.SelectionTileAreaView = new TileAreaView();

            m_game = new MyGame(this);

            m_game.CursorService.LocationChanged     += OnCursorMoved;
            m_game.SelectionService.SelectionChanged += OnSelectionChanged;
            m_game.SelectionService.GotSelection     += OnGotSelection;

            m_game.Start();

            m_toolTipService = new ToolTipService(this);
        }