示例#1
0
 public TotemGame()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     Console    = new DeveloperConsole(this);
     GuiManager = new Gui.GuiManager(this);
     Input      = new Input(this);
     Hud        = new HUD(this);
     Lighting   = new Penumbra.Penumbra(this)
     {
         Debug = true, SpriteBatchTransformEnabled = true
     };
     IsMouseVisible = true;
     MenuState      = new MenuStateManager(this);
 }
示例#2
0
 public ConsoleWriter(DeveloperConsole console)
 {
     Console = console;
 }