Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MouseState
- {
- bool mMouseButtons[256];
- public:
- MouseState();
- void setButtonState(uint8 button, bool state);
- bool getButtonState(uint8 button) const;
- bool getButtonState(MouseButton button) const { return getButtonState((uint8)button); }
- };
Advertisement
Add Comment
Please, Sign In to add comment