demo headers refactor

This commit is contained in:
h4570
2022-08-14 20:11:57 +02:00
parent 7ef0e73543
commit 5c2ae9770e
35 changed files with 57 additions and 87 deletions
+6 -2
View File
@@ -15,7 +15,8 @@
#include "states/game/terrain/heightmap.hpp"
#include "./weapon.hpp"
#include "./camera.hpp"
#include <engine.hpp>
#include "./player_shoot_action.hpp"
#include <tyra>
using Tyra::Engine;
using Tyra::Pad;
@@ -35,8 +36,11 @@ class Player {
void update(const Heightmap& heightmap);
PlayerShootAction getShootAction() const;
private:
void handlePlayerPosition(const Heightmap& heightmap,const float& terrainHeight);
void handlePlayerPosition(const Heightmap& heightmap,
const float& terrainHeight);
float speed;
Pad* pad;