Exemple #1
0
        /// <summary>
        /// Initalises getting the other elements of the level editor
        /// </summary>
        public void Initalise()
        {
            //Set Level Editor Grid
            levelGrid = LevelEditorRefrences.GetEditorGrid(this);

            //Subscribe Update Cordinates events to the movement of the mouse over the grid
            levelGrid.MouseMove += UpdateCoordinateUI;
        }
 /// <summary>
 /// Initalises getting the other elements of the level editor
 /// </summary>
 public void Initalise()
 {
     levelGrid   = LevelEditorRefrences.GetEditorGrid(this);
     swatchPanel = LevelEditorRefrences.GetSwatchPanel(this);
     infoBar     = LevelEditorRefrences.GetInfomationBar(this);
 }