This project is read-only.
The GuiManagerComponent is kind of helper. If you use this it is very easy to integrate a GUI into your game project but you have less control. If you want full control you have to use the GuiManager class directly.

To use the GuiManagerComponent all you have to do is to register a instance of it as a component like this

    GuiManagerComponent guiManagerComponent = new GuiManagerComponent(this, @"Content/Skins/DarkSkin.xml");  
    guiManagerComponent.GuiManager.SpriteCursorEnabled = true;  

All of the Draw, Update, LoadContent, UnloadContent and the constructor of GuiManager are called at the right time and place. Nothing more to do for you.

Last edited May 8, 2011 at 7:36 AM by Glatzemann, version 1


No comments yet.