INNER CODE UNIT · C#

DwarfGame

Blecki/dwarfcorp · DwarfCorp/DwarfGame.cs:26

    public class DwarfGame : Game
    {
        public GraphicsDeviceManager Graphics;
        public static SpriteBatch SpriteBatch { get; set; }
        public Terrain2D ScreenSaver { get; set; }

        public static Gui.Input.GumInputMapper GumInputMapper;
        public static Gui.Input.Input GumInput;
        public static Gui.RenderData GuiSkin;

        private static Gui.Root ConsoleGui;
        private static bool ConsoleVisible = false;
        public static bool IsConsoleVisible { get { return ConsoleVisible; } }
        public static Gui.Widget ConsolePanel { get { return ConsoleGui.RootItem.GetChild(0); } }

        public const string GameName = "DwarfCorp";
        public static bool HasRendered = false;
        private static LogWriter _logwriter;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…