コード例 #1
0
 /// <summary>
 /// Constructor.
 /// Use Initialize() or Load() where possible.
 /// </summary>
 public ServerEngine(ServerEngineConsole serverConsole)
 {
     ServerConsole = serverConsole;
     // Initialize GraphicsDeviceManager
     GraphicsDeviceManager = new GraphicsDeviceManager(this)
     {
         PreferredBackBufferWidth = (int)ScreenSize.X, PreferredBackBufferHeight = (int)ScreenSize.Y
     };
     // Show cursor
     IsMouseVisible = true;
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: DRobDev/temp_InfinitChaos
        static void Main()
        {
            var serverEngineConsole = new ServerEngineConsole();

            serverEngineConsole.Run();
        }