Controls.pkg 368 B

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