Uranus  1.0.1.0
Uranus is a GameEngine written in C++
Loading...
Searching...
No Matches
EnemyShooter.hpp
1/*
2** EPITECH PROJECT, 2023
3** EnemyShooter.hpp
4** File description:
5** EnemyShooter.hpp
6*/
7
8#ifndef URANUS_ENEMYSHOOTER_HPP
9#define URANUS_ENEMYSHOOTER_HPP
10
11#include "Enemy.hpp"
12
13class EnemyShooter : public Enemy {
14public:
15 explicit EnemyShooter(const std::string &uniqueName, uranus::ecs::component::Position pos, std::shared_ptr<engine::Texture> &texture);
16
17 void loop(size_t entity) override;
18
19private:
20 engine::Clock _shootClock;
21 engine::Clock _movementClock;
22};
23
24#endif // URANUS_ENEMYSHOOTER_HPP
Definition: Enemy.hpp:13
Definition: EnemyShooter.hpp:13
Definition: Clock.hpp:14
Definition: Components.hpp:22