sfml_impl 0.1.0
Vendor SFML 3.0.2 : IGraphic2Module / IAudioModule
Loading...
Searching...
No Matches
SfmlMouse Class Reference

Maps the contract's buttons to sfml buttons, and reads the state the window accumulated while popping its events. Definitions in SfmlWindow.hpp, once SfmlWindow is complete. More...

#include <SfmlMouse.hpp>

Inheritance diagram for SfmlMouse:
Collaboration diagram for SfmlMouse:

Public Member Functions

 SfmlMouse (SfmlWindow &window)
 
 ~SfmlMouse () override=default
 
bool isButtonPressed (Buttons key) const override
 
bool isButtonReleased (Buttons key) const override
 
bool isButtonDown (Buttons key) const override
 
bool isButtonUp (Buttons key) const override
 
Vector2f getPosition () const override
 
void setPosition (Vector2f position) override
 
float GetMouseWheelMove () const override
 

Detailed Description

Maps the contract's buttons to sfml buttons, and reads the state the window accumulated while popping its events. Definitions in SfmlWindow.hpp, once SfmlWindow is complete.

Constructor & Destructor Documentation

◆ SfmlMouse()

SfmlMouse::SfmlMouse ( SfmlWindow window)
inline

◆ ~SfmlMouse()

SfmlMouse::~SfmlMouse ( )
overridedefault

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