Controls.pkg 391 B

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