RTYPE DOCUMENTATION
  • 🍜Welcome
    • R-THAAAAAAï
    • 💽Installation processes
  • 🎮How to play ?
  • 🧱Setup and install process
    • 🪟Windows
    • 🐧Linux
    • 🍎MacOS
  • 💻Development guidelines & how tos
    • ⚙️Configuration
    • 📡Network
      • RFC
    • ⁉️How to ... ?
    • 📕ECS MANUAL
      • Components
      • Sparse Array
      • Systems
      • Registry
      • Worlds
      • Examples
      • A word on singletons
    • 📒Development guidelines
  • 💭Miscellaneous
    • ❤️Credits
    • ⚖️License
Powered by GitBook
On this page
  • Configure
  • Enemies
  1. Development guidelines & how tos

How to ... ?

For our dear devs

PreviousRFCNextECS MANUAL

Last updated 2 years ago

Configure

Enemies

Enemies are defined by a type, a faction, and a movementIA in the EnemyFactory.

Watch out src/ecs/EnemyFactory.hpp and .cpp

To generate a new type of enemy, you need to add it to the enum EnemyType and to the typeGeneratorMap, and add a static function to generate it.

💻
⁉️
⚙️Configuration