| 12345678910111213141516171819202122232425262728 |
- #pragma once
- #include "../core/system.h"
- namespace Engine::Core {
- class World;
- class Entity;
- } // namespace Engine::Core
- namespace Game::Systems {
- class ElephantAttackSystem : public Engine::Core::System {
- public:
- void update(Engine::Core::World *world, float delta_time) override;
- private:
- void process_elephant_behavior(Engine::Core::World *world, float delta_time);
- void process_charge_attack(Engine::Core::Entity *elephant,
- Engine::Core::World *world, float delta_time);
- void process_trample_damage(Engine::Core::Entity *elephant,
- Engine::Core::World *world, float delta_time);
- void process_panic_mechanic(Engine::Core::Entity *elephant,
- Engine::Core::World *world, float delta_time);
- void process_melee_attack(Engine::Core::Entity *elephant,
- Engine::Core::World *world, float delta_time);
- };
- } // namespace Game::Systems
|