| Line | Branch | Exec | Source | 
|---|---|---|---|
| 1 | /* | ||
| 2 | ** EPITECH PROJECT, 2024 | ||
| 3 | ** zappy/ai | ||
| 4 | ** File description: | ||
| 5 | ** SimpleBot.hpp | ||
| 6 | */ | ||
| 7 | |||
| 8 | #ifndef SIMPLEBOT_HPP_ | ||
| 9 | #define SIMPLEBOT_HPP_ | ||
| 10 | |||
| 11 | #include "ABotPattern.hpp" | ||
| 12 | |||
| 13 | ✗ | class SimpleBot : public ABotPattern | |
| 14 | { | ||
| 15 | public: | ||
| 16 | void initChild(); | ||
| 17 | void updateStrategy() override; | ||
| 18 | |||
| 19 | // Levels | ||
| 20 | void handleLvl1(); | ||
| 21 | void handleLvl2(); | ||
| 22 | void handleLvl3(); | ||
| 23 | void handleLvl4(); | ||
| 24 | void handleLvl5(); | ||
| 25 | void handleLvl6(); | ||
| 26 | void handleLvl7(); | ||
| 27 | |||
| 28 | // State | ||
| 29 | bool handleState(); | ||
| 30 | |||
| 31 | // Survive | ||
| 32 | bool handleSurvive(); | ||
| 33 | }; | ||
| 34 | #endif // SIMPLEBOT_HPP_ | ||
| 35 |