![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
#include <BLIB/Input.hpp>
#include <BLIB/Tilemap/Direction.hpp>
Go to the source code of this file.
Namespaces | |
core | |
Core classes and functionality for both the editor and game. | |
core::input | |
Peoplemon specific input functionality around the BLIB input system. | |
core::input::Control | |
Wrapper around the enum for player input ids. | |
Typedefs | |
using | core::input::EntityControl = std::underlying_type_t< Control::EntityControl > |
Helper typedef to avoid too much casting boilerplate. More... | |
Enumerations | |
enum | core::input::Control::EntityControl : unsigned int { core::input::Control::MoveUp = 0 , core::input::Control::MoveRight = 1 , core::input::Control::MoveDown = 2 , core::input::Control::MoveLeft = 3 , core::input::Control::Sprint = 4 , core::input::Control::Interact = 5 , core::input::Control::Pause = 6 , core::input::Control::Back = 7 , core::input::Control::Count , core::input::Control::None = Count } |
Contains the various inputs a player or AI can use to control the game or an NPC. More... | |
Functions | |
void | core::input::configureInputSystem (bl::input::InputSystem &system) |
Configures the input system for the set of peoplemon inputs. More... | |
EntityControl | core::input::fromDirection (bl::tmap::Direction direction) |
Helper method to convert a move direction to a control. More... | |