protected override void Initialize()
        {
            base.Initialize();
            OnStart();
            optionTool = new OptionTool(this);
            loadTool   = new LoadTool(this);
            saveTool   = new SaveTool(this);
            newTool    = new NewTool(this);
            pencilTool = new PencilTool(this);
            flagTool   = new FlagTool(this);
            fillTool   = new FillTool(this);
            actorTool  = new ActorTool(this);
            eraseTool  = new EraserTool(this);
            stampTool  = new StampTool(this);

            EditorInput input = inputComponent as EditorInput;

            (input[EditorInput.EditBindings.SCROLLLOCK] as SinglePressBinding).downEvent += flipScroll;
            (input[EditorInput.EditBindings.FULLSCREEN] as SinglePressBinding).downEvent += flipFull;
            (input[EditorInput.EditBindings.ZOOMIN] as SinglePressBinding).downEvent     += zoomIn;
            (input[EditorInput.EditBindings.ZOOMOUT] as SinglePressBinding).downEvent    += zoomOut;
            (input[EditorInput.EditBindings.QUIT] as SinglePressBinding).downEvent       += Exit;

            pencilTool.active = true;
            activeTool        = pencilTool;
            graphicsComponent.guiComponent.current.performLayout();
            graphicsComponent.guiComponent.current.performLayout();
        }
        /*
         * Initializes all tools in the order they appear.
         * Selects the pencilTool as the initial tool.
         */
        public override void loadContent()
        {
            //Order they are added to the gui, top down
            worldSettingsTool = new WorldSettingsTool(this);
            editorGui.addToolButton(null, true);
            pencilTool    = new PencilTool(this);
            fillTool      = new FillTool(this);
            selectionTool = new SelectionTool(this);
            editorGui.addToolButton(null, true);
            actorTool = new ActorTool(this);
            eraseTool = new EraserTool(this);

            //bottom up
            editorSettingsTool = new EditorSettingsTool(this);
            saveMaptool        = new SaveMapTool(this);
            loadMapTool        = new LoadMapTool(this);
            newMapTool         = new NewMapTool(this);
            resetTool          = new ResetTool(this);

            //Default menus
            selectTool(pencilTool);
        }