mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
update_controls & update_interaction moved to separate module
This commit is contained in:
parent
191b88192b
commit
f962b73c98
4 changed files with 214 additions and 188 deletions
13
src/player_control.h
Normal file
13
src/player_control.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef PLAYER_CONTROL_H_
|
||||
#define PLAYER_CONTROL_H_
|
||||
|
||||
class PhysicsSolver;
|
||||
class Chunks;
|
||||
class Player;
|
||||
class Lighting;
|
||||
class LineBatch;
|
||||
|
||||
void update_controls(PhysicsSolver* physics, Chunks* chunks, Player* player, float delta);
|
||||
void update_interaction(Chunks* chunks, PhysicsSolver* physics, Player* player, Lighting* lighting, LineBatch* lineBatch);
|
||||
|
||||
#endif /* PLAYER_CONTROL_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue