Beispiel #1
0
        internal void Update(GameTime gameTime, MouseState mouse)
        {
            MouseLocation = mouse.Position;

            _mouseEvents.Update(gameTime);
            _keyboardEvents.Update(gameTime);
        }
 public void Update(GameTime gameTime)
 {
     _mouseEvents.Update(gameTime);
     _keyboardEvents.Update(gameTime);
 }
Beispiel #3
0
 protected override void OnUpdateInput(IInputState input)
 {
     keyboard.Update(input.GameTime);
     mouse.Update(input.GameTime);
 }
Beispiel #4
0
 public void Update(float deltaTime)
 {
     _keyboardEvents.Update();
     _mouseEvents.Update();
 }