![]() |
Elevate Engine 1
|
#include <InputBuffer.h>
Public Member Functions | |
| bool | IsKeyPressed (int keycode) |
| Getter. | |
| bool | IsKeyDown (int keycode) |
| bool | IsKeyUp (int keycode) |
| bool | IsMouseButtonPressed (int mouseButtonCode) |
| bool | IsMouseButtonDown (int mouseButtonCode) |
| bool | IsMouseButtonUp (int mouseButtonCode) |
| void | SetKeyPressed (int keycode, int repeatCount) |
| Setter. | |
| void | SetKeyReleased (int keycode) |
| void | SetMouseButtonPressed (int mouseButtonCode) |
| void | SetMouseButtonReleased (int mouseButtonCode) |
| void | ResetAllStates () |
| void | ManageMidSates () |
Definition at line 7 of file InputBuffer.h.
| bool Elevate::InputBuffer::IsKeyDown | ( | int | keycode | ) |
Definition at line 16 of file InputBuffer.cpp.
| bool Elevate::InputBuffer::IsKeyPressed | ( | int | keycode | ) |
| bool Elevate::InputBuffer::IsKeyUp | ( | int | keycode | ) |
Definition at line 20 of file InputBuffer.cpp.
| bool Elevate::InputBuffer::IsMouseButtonDown | ( | int | mouseButtonCode | ) |
Definition at line 29 of file InputBuffer.cpp.
| bool Elevate::InputBuffer::IsMouseButtonPressed | ( | int | mouseButtonCode | ) |
Definition at line 25 of file InputBuffer.cpp.
| bool Elevate::InputBuffer::IsMouseButtonUp | ( | int | mouseButtonCode | ) |
Definition at line 33 of file InputBuffer.cpp.
| void Elevate::InputBuffer::ManageMidSates | ( | ) |
Definition at line 89 of file InputBuffer.cpp.
| void Elevate::InputBuffer::ResetAllStates | ( | ) |
Definition at line 83 of file InputBuffer.cpp.
| void Elevate::InputBuffer::SetKeyPressed | ( | int | keycode, |
| int | repeatCount | ||
| ) |
Setter.
Internal - State Machine.
Definition at line 40 of file InputBuffer.cpp.
| void Elevate::InputBuffer::SetKeyReleased | ( | int | keycode | ) |
Definition at line 52 of file InputBuffer.cpp.
| void Elevate::InputBuffer::SetMouseButtonPressed | ( | int | mouseButtonCode | ) |
Definition at line 62 of file InputBuffer.cpp.
| void Elevate::InputBuffer::SetMouseButtonReleased | ( | int | mouseButtonCode | ) |
Definition at line 74 of file InputBuffer.cpp.