public Form1() { InitializeComponent(); _openGLControl.InitializeContexts(); _openGLControl.SizeChanged += new EventHandler(OnOpenGLControlResized); _input.Mouse = new Mouse(this, _openGLControl); _input.Keyboard = new Keyboard(_openGLControl); _scene = new Scene(); InitializeDisplay(); // InitializeSounds(); InitializeTextures(); // InitializeFonts(); InitializeGameState(); _layers = new Layers(_scene, _textureManager); _layers.Show(); _modeComboBox.SelectedIndex = 1; _fastLoop = new FastLoop(GameLoop); }
public Form1() { InitializeComponent(); simpleOpenGlControl1.InitializeContexts(); InitializeDisplay(); InitializeTextures(); InitializeGameState(); _fastLoop = new FastLoop(GameLoop); }
public Form1() { InitializeComponent(); simpleOpenGlControl1.InitializeContexts(); _input.Mouse = new Mouse(this, simpleOpenGlControl1); InitializeDisplay(); InitializeSounds(); InitializeTextures(); InitializeGameState(); _fastLoop = new FastLoop(GameLoop); }
public Form1() { InitializeComponent(); openGlControl.InitializeContexts(); input.Mouse = new Mouse(this, openGlControl); input.Keyboard = new Keyboard(openGlControl); InitializeDisplay(); InitializeTextures(); InitializeFonts(); InitializeEffects(); InitializeGameStates(); fastLoop = new FastLoop(GameLoop); }
public Form1() { InitializeComponent(); _simpleOpenGLControl.InitializeContexts(); _input.Mouse = new Mouse(this, _simpleOpenGLControl); _input.Keyboard = new Keyboard(_simpleOpenGLControl); InitializeDisplay(); InitializeSounds(); InitializeTextures(); InitializeFonts(); InitializeGameState(); _fastLoop = new FastLoop(GameLoop); }
public Form1() { InitializeComponent(); simpleOpenGlControl1.InitializeContexts(); _input.Mouse = new Mouse(this, simpleOpenGlControl1); _input.Keyboard = new Keyboard(simpleOpenGlControl1); _input.Controller = new XboxController(1); InitializeDisplay(); InitializeSounds(); InitializeTextures(); InitializeFonts(); InitializeGameData(); InitializeGameState(); _fastLoop = new FastLoop(GameLoop); }