Fixing attack timings

This commit is contained in:
Anonymus Raccoon
2020-04-27 17:59:13 +02:00
parent a2ea70f569
commit 2491d6a47c
7 changed files with 57 additions and 30 deletions
+2
View File
@@ -9,6 +9,7 @@
#ifndef MY_RPG_COMBAT_MANAGER_H
#define MY_RPG_COMBAT_MANAGER_H
#include <components/attack_component.h>
#include "system.h"
#include "components/combat_holder.h"
#include "components/dialog_holder.h"
@@ -26,6 +27,7 @@ struct combat_manager {
gc_system base;
gc_scene *game_scene;
struct enemy *current_enemy;
struct attack_holder *next_enemy_attack;
enum combat_state state;
};