Platform Data Engine 0.0.1
A data-driven game engine for platformers
PlatformDataEngine::NetworkInputManager Class Reference
Inheritance diagram for PlatformDataEngine::NetworkInputManager:
PlatformDataEngine::InputManager

Classes

class  Axis
 
class  Button
 

Public Member Functions

sf::Vector2f getMouse ()
 
NetworkInputManager::AxisgetAxis (const std::string &axisName)
 
NetworkInputManager::ButtongetButton (const std::string &button)
 
void loadDefinition (const std::string &inputManagerFile)
 
void setAxis (const std::string &axisName, float value)
 
void setAxis (sf::Uint8 idx, float value)
 
void setButton (const std::string &buttonName, bool value)
 
void setButton (sf::Uint8 idx, bool value)
 
void setMouse (sf::Vector2f pos)
 
virtual sf::Vector2f getMouse ()=0
 
virtual AxisgetAxis (const std::string &axisName)=0
 
virtual ButtongetButton (const std::string &button)=0
 

Member Function Documentation

◆ getAxis()

NetworkInputManager::Axis & NetworkInputManager::getAxis ( const std::string &  axisName)
virtual

◆ getButton()

NetworkInputManager::Button & NetworkInputManager::getButton ( const std::string &  button)
virtual

◆ getMouse()

sf::Vector2f PlatformDataEngine::NetworkInputManager::getMouse ( )
inlinevirtual

The documentation for this class was generated from the following files: