JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
VirtualMouseCursor.hpp
1// Copyright 2026 Jan Niklas Hasse <jhasse@bixense.com>
2// For conditions of distribution and use, see copyright notice in LICENSE.txt
3#pragma once
4
5#include "job.hpp"
6#include "Vec2.hpp"
7
8namespace jngl {
9
11public:
12 virtual Vec2 getPosition() const = 0;
13 virtual bool pressed() const = 0;
14 virtual bool down() const = 0;
15};
16
17} // namespace jngl
Contains jngl::Vec2 class.
Background job which stays part of the main loop independent of the active jngl::Scene.
Definition job.hpp:62
Two-dimensional vector.
Definition Vec2.hpp:36
Contains jngl::Job class and related functions.
JNGL's main namespace.