mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
add gfx.blockwraps library & add on_player_tick world event
This commit is contained in:
parent
2ba90625ce
commit
61b1aa8e3d
13 changed files with 98 additions and 15 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue