From 3e16eb8d2f15d40239bdf1f375daeab7bcdf95fa Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Mon, 11 Jul 2022 21:24:00 +0200 Subject: dod --- src/yabs_structs.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/yabs_structs.h (limited to 'src/yabs_structs.h') diff --git a/src/yabs_structs.h b/src/yabs_structs.h new file mode 100644 index 0000000..c6f1d30 --- /dev/null +++ b/src/yabs_structs.h @@ -0,0 +1,48 @@ +/*********************************/ +/* YABS ( // */ +/* structs ( )/ */ +/* by salade )(/ */ +/* ________________ ( /) */ +/* ()__)____________))))) :^} */ +/*********************************/ + +#ifndef YABS_STRUCTS_H +#define YABS_STRUCTS_H + +#include "raylib.h" +#include + +namespace yabs { +namespace core { + +typedef struct Player { + int hp; + Vector3 pos; +}Player; + +typedef struct Enemy { + Vector3 enemyStartPos; + Vector3 enemyBoxPos; + Vector3 enemyBoxSize; + BoundingBox enemyBounds; + bool active; +} Enemy; + +typedef struct RenderObjs { + std::vector vEnemyPos; + Model & ground; +} RenderObjs; + +typedef struct TickObjs { + std::vector vEnemyBounds; + std::vector vEnemyPos; + BoundingBox * range; + Vector3 * position; + bool * direction[4]; + bool * alive; +} TickObjs; + +} +} + +#endif /* YABS_STRUCTS_H */ -- cgit v1.2.3