change enemy to monster

This commit is contained in:
h4570
2022-08-12 12:04:52 +02:00
parent d65561487c
commit 2054dba4ec
6 changed files with 36 additions and 32 deletions
+3 -2
View File
@@ -12,6 +12,7 @@
#include "states/game/renderer/renderer_dynamic_pair.hpp"
#include "states/game/renderer/renderer_static_pair.hpp"
#include "states/game/terrain/heightmap.hpp"
#include "./weapon.hpp"
#include "./camera.hpp"
#include <engine.hpp>
@@ -32,10 +33,10 @@ class Player {
RendererStaticPair* pair;
void update(const float& terrainHeight);
void update(const Heightmap& heightmap);
private:
void handlePlayerPosition(const float& terrainHeight);
void handlePlayerPosition(const Heightmap& heightmap,const float& terrainHeight);
float speed;
Pad* pad;