aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/TODO/hh_entity.h
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-03-22 10:45:34 +0100
committerGitHub <noreply@github.com>2023-03-22 10:45:34 +0100
commitd32a4942c7e16af5daf71a769906b17cb44de8e1 (patch)
tree8da86d27d30d841d786a5beca634e3fbaaf00570 /src/stm32/TODO/hh_entity.h
parent6d82f9e3d165e0200bed2f2784a1183f47b37fa3 (diff)
parent7f51cd925883bbf958baa289d4d19231667c9eba (diff)
Merge branch 'lonkaars:dev' into dev
Diffstat (limited to 'src/stm32/TODO/hh_entity.h')
-rw-r--r--src/stm32/TODO/hh_entity.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/stm32/TODO/hh_entity.h b/src/stm32/TODO/hh_entity.h
deleted file mode 100644
index fdbeb8a..0000000
--- a/src/stm32/TODO/hh_entity.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-#include <stdint.h>
-
-#include "maths.h"
-
-typedef struct {
- vec2 pos, vec;
- bool is_grounded;
- int8_t hp;
- //armor/block?
-}hh_entity;
-
-/// @brief detect for collision enity and eviroment
-/// @param pos1 position of environment tile to be checked
-/// @param pos2 position entity
-/// @return true if collision between enity and environment
-bool hh_collision(vec2* pos1, vec2* pos2);
-
-/// @brief solve collisions
-/// @param environment position
-/// @param entity position
-/// @return solved new entity position
-void hh_solve_collision(vec2* pos_environment, hh_entity* entity);