Inheritance: IDisposable
Ejemplo n.º 1
0
 public MainWindow(GameContext gameContext)
 {
     _gameContext = gameContext;
     InitializeComponent();
     Size = MainWindowSize;
     FormBorderStyle= FormBorderStyle.FixedSingle;
     BackgroundColor=new Vector3(0,0,0);
 }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     disableConsoleClosing();
     GameContext context=new GameContext();
     CommandListener listener=new CommandListener(context);
     MessagePump.Run(context.MainWindow,context.Render);
     listener.Dispose();
     context.Dispose();
 }
Ejemplo n.º 3
0
 public ControlForm(GameContext context)
 {
     _context = context;
     InitializeComponent();
 }
Ejemplo n.º 4
0
 public ControlForm(GameContext context)
 {
     _context = context;
     InitializeComponent();
 }