Added Bullet shooting

This commit is contained in:
2023-06-16 01:41:38 -05:00
parent a2308914a2
commit 01d1e44839
9 changed files with 84 additions and 3 deletions
+3
View File
@@ -54,6 +54,8 @@ struct Monster{
int atk;
float moveSpd;
float size;
float attackCooldownTimer=0;
float queueShotTimer=0;
Key facingDirection;
MonsterStrategy strategy;
State state=State::NORMAL;
@@ -88,6 +90,7 @@ struct Monster{
void SetX(float x);
void SetY(float y);
void PerformJumpAnimation();
void PerformShootAnimation();
};
struct MonsterSpawner{