mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add interacton by long press
This commit is contained in:
parent
316de42cca
commit
ee8d0368bd
5 changed files with 27 additions and 18 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "ChunksController.hpp"
|
||||
#include "PlayerController.hpp"
|
||||
|
||||
class Engine;
|
||||
class Level;
|
||||
class Player;
|
||||
struct EngineSettings;
|
||||
|
|
@ -19,7 +20,7 @@ class LevelController {
|
|||
std::unique_ptr<ChunksController> chunks;
|
||||
std::unique_ptr<PlayerController> player;
|
||||
public:
|
||||
LevelController(EngineSettings& settings, std::unique_ptr<Level> level);
|
||||
LevelController(Engine* engine, std::unique_ptr<Level> level);
|
||||
|
||||
/// @param delta time elapsed since the last update
|
||||
/// @param input is user input allowed to be handled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue