Controls.pkg 419 B

1234567891011121314151617
  1. $#include "Input/Controls.h"
  2. class Controls
  3. {
  4. Controls();
  5. ~Controls();
  6. void Reset();
  7. void Set(unsigned buttons, bool down = true);
  8. bool IsDown(unsigned button) const;
  9. bool IsPressed(unsigned button, const Controls& previousControls) const;
  10. unsigned buttons_ @ buttons;
  11. float yaw_ @ yaw;
  12. float pitch_ @ pitch;
  13. VariantMap extraData_ @ extraData;
  14. };