|
ProtoZed
awesome branch
A simple but powerful game framework
|
Classes | |
| class | MouseButtonEvent |
| class | MouseMoveEvent |
Public Member Functions | |
| Input (const SystemType &type, Application &application) | |
| virtual | ~Input () |
| virtual void | Update (float deltaTime)=0 |
| Runs an update. | |
| virtual bool | IsKeyDown (Key::Code keyCode) const =0 |
| virtual float | GetMouseX () const =0 |
| virtual float | GetMouseY () const =0 |
| virtual bool | IsMouseButtonDown (Mouse::Button button) const =0 |
| virtual float | GetJoystickAxis (unsigned int joyId, Joy::Axis axis) const =0 |
| virtual bool | IsJoystickButtonDown (unsigned int joyId, unsigned int button) const =0 |
Public Member Functions inherited from PZ::System | |
| System (const SystemType &type, Application &application) | |
| virtual | ~System () |
| virtual bool | Start () |
| Starts the system. | |
| virtual bool | Stop () |
| Stops the system. | |
| const SystemType & | GetType () const |
| Gets the type. | |
| bool | IsStarted () const |
Public Member Functions inherited from PZ::EventHandler | |
| EventHandler () | |
| virtual | ~EventHandler () |
| bool | SubscribeTo (EventHandler &handler) |
| bool | UnsubscribeTo (EventHandler &handler) |
| template<class T , class EventT > | |
| bool | RegisterEvent (T *obj, void(T::*memFn)(EventT &)) |
| template<class T , class EventT > | |
| bool | UnregisterEvent (T *obj, void(T::*memFn)(EventT &)) |
| void | HandleEvent (const Event &e) |
| void | EmitEvent (const Event &e) const |
Additional Inherited Members | |
Protected Member Functions inherited from PZ::System | |
| Application & | GetApplication () const |
|
inline |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
1.8.2