aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/TODO/hh_combat.h
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-03-10 10:32:46 +0100
committerGitHub <noreply@github.com>2023-03-10 10:32:46 +0100
commit458d620a4ae17c42e97413a49db6c1c5f53393e5 (patch)
tree2ec54be53445720aac90b10bd9c6a3d1bdbe3cfa /src/stm32/TODO/hh_combat.h
parentcf1effe02d99d74db684ff324a46fa32cf186417 (diff)
parenta7ddcb50ae67cd7178f3c3582faae68366c6e049 (diff)
Merge pull request #25 from lonkaars/game-engine
Game engine
Diffstat (limited to 'src/stm32/TODO/hh_combat.h')
-rw-r--r--src/stm32/TODO/hh_combat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stm32/TODO/hh_combat.h b/src/stm32/TODO/hh_combat.h
new file mode 100644
index 0000000..16c41f5
--- /dev/null
+++ b/src/stm32/TODO/hh_combat.h
@@ -0,0 +1,9 @@
+#include "hh_entity.h"
+
+
+// attacktypes:
+
+/// @brief basic attack
+/// @param dmg damage number
+/// @param target entity under attack (damage changes this hp value)
+void hh_attack_basic( int8_t dmg, hh_entity* target );