Beispiel #1
0
 public AeInput(AeGraphics graphics)
 {
     _keyboard = new AeKeyboard();
     _mouse    = new AeMouse(graphics);
     _gamepads = new AeGamepad();
     _touch    = new AeTouch();
 }
Beispiel #2
0
 public AeMouse(AeGraphics graphics)
 {
     _mouseState         = Mouse.GetState();
     _previousMouseState = Mouse.GetState();
     _graphics           = graphics;
 }
Beispiel #3
0
        private void InitSubsystems()
        {
            var graphicsDeviceManager = new GraphicsDeviceManager(GameReference);

            Graphics = new AeGraphics(graphicsDeviceManager);
        }