R-Type
R-Type project
KapEngine::Events::Mouse Class Reference

Public Member Functions

 Mouse (EventManager &manager)
 
void __update ()
 update intels More...
 
Tools::Vector2 getPosition () const
 Get the Position of mouse. More...
 
bool mouseMoved () const
 get intel if mouse moved More...
 

Member Function Documentation

◆ __update()

void KapEngine::Events::Mouse::__update ( )

update intels

Warning
Do not use this function, it will be called by the engine

◆ getPosition()

Tools::Vector2 KapEngine::Events::Mouse::getPosition ( ) const
inline

Get the Position of mouse.

Returns
KapEngine::Tools::Vector2

◆ mouseMoved()

bool KapEngine::Events::Mouse::mouseMoved ( ) const
inline

get intel if mouse moved

Return values
trueif mouse moved between now to last move
falseif mouse does not move between now to last move

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