TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
InputManager Class Reference

Public Member Functions

void update ()
 
void pressKey (unsigned int keyID)
 
void releaseKey (unsigned int keyID)
 
bool isKeyDown (unsigned int keyID)
 
bool isKeyPressed (unsigned int keyID)
 
bool checkMouseCollision (glm::vec2 position, glm::ivec2 tr_size)
 
void setMouseCoords (float x, float y)
 
glm::vec2 getMouseCoords () const
 
void setPanningPoint (glm::vec2 position)
 
glm::vec2 calculatePanningDelta (glm::vec2 position)
 
void setObjectRelativePos (glm::vec2 relativeObjectPos)
 
glm::vec2 getObjectRelativePos ()
 
glm::vec2 convertWindowToCameraCoords (glm::vec2 mousePos, glm::vec2 viewportSize, glm::vec2 windowDimensions, const glm::vec2 &windowPos, const glm::vec2 &windowSize, const ICamera &camera)
 

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