Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
ObjectSelectionSystem.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <ECS/Registry.hpp>
5
6#include <memory>
7
8namespace shkyera {
9
11 public:
12 ObjectSelectionSystem(std::shared_ptr<Registry> registry);
13
14 void update();
15
16 private:
17 std::optional<Entity> getHoveredObject();
18
19 std::optional<Entity> _objectSelectedOnMouseDown;
20};
21
22} // namespace shkyera
Definition ObjectSelectionSystem.hpp:10
std::optional< Entity > getHoveredObject()
std::optional< Entity > _objectSelectedOnMouseDown
Definition ObjectSelectionSystem.hpp:19
void update()
Definition ObjectSelectionSystem.cpp:25
Definition RegistryViewer.hpp:51
Definition Asset.hpp:6
Definition Clock.hpp:9