public | | const T* | getPawn<T>() | |
public | | void | watchAttachment(std::function<void (Pawn*)> inNext, std::function<void (const std::string&)> inError, std::function<void ()> inComplete) | |
public | | bool | isAttached() | |
public | | void | deattach() | |
public | | void | attachTo(Pawn* inPawn) | |
public | | void | bindMouseMotionEvent(std::function<void(const SDL_MouseMotionEvent&)> inEvent) | |
public | | void | bindMouseButtonEvent(std::uint8_t inButtonCode, std::function<void(bool)> inEvent) | |
public | | void | bindKeyboardButtonEvent(SDL_Scancode inButtonCode, std::function<void(bool)> inEvent) | |
public | | void | bindControllerMotionEvent(std::function<void(const SDL_GamepadAxisEvent&)> inEvent) | |
public | | void | bindControllerButtonEvent(std::uint8_t inButtonCode, std::function<void(bool)> inEvent) | |
public | | void | onEvent(const SDL_Event& inEvent) | |
private | | void | onMouseButtonEvent(const SDL_MouseButtonEvent& inEvent) | |
private | | void | onKeyboardButtonEvent(const SDL_KeyboardEvent& inEvent) | |
private | | void | onControllerButtonEvent(const SDL_GamepadButtonEvent& inEvent) | |
private | | void | clearEvents() | |