JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
VirtualMouseCursor Class Referenceabstract

Public Member Functions

virtual Vec2 getPosition () const =0
 
virtual bool pressed () const =0
 
virtual bool down () const =0
 
- Public Member Functions inherited from Job
virtual void step ()=0
 Advance the game logic.
 
virtual void draw () const =0
 Draw the game state.
 
virtual void onFileDrop (const std::filesystem::path &)
 Called when a file has been dropped onto the window.
 
virtual void onControllersChanged ()
 Whenever the return value of jngl::getConnectedControllers would change, this method gets called.
 
 Job ()=default
 Does nothing.
 
 Job (const Job &)=default
 Copy constructor.
 
Joboperator= (const Job &)=default
 Copy assignment.
 
 Job (Job &&)=default
 Move constructor.
 
Joboperator= (Job &&)=default
 Move assignment.
 
virtual ~Job ()
 Does nothing.
 

Detailed Description

Definition at line 10 of file VirtualMouseCursor.hpp.

Inheritance diagram for VirtualMouseCursor:
[legend]
Collaboration diagram for VirtualMouseCursor:
[legend]

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