add gfx.blockwraps library & add on_player_tick world event

This commit is contained in:
MihailRis
2024-11-21 06:48:23 +03:00
parent 2ba90625ce
commit 61b1aa8e3d
13 changed files with 98 additions and 15 deletions
+2
View File
@@ -5,6 +5,7 @@
#include <vector>
#include "objects/Player.hpp"
#include "util/Clock.hpp"
class Engine;
class Camera;
@@ -53,6 +54,7 @@ class PlayerController {
PlayerInput input {};
CameraControl camControl;
BlocksController* blocksController;
util::Clock playerTickClock;
float interactionTimer = 0.0f;
void updateKeyboard();