> For the complete documentation index, see [llms.txt](https://cavonstavants-organization.gitbook.io/rtype/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cavonstavants-organization.gitbook.io/rtype/development-guidelines-and-how-tos/how-to-....md).

# How to ... ?

For our dear devs

### Configure

{% content-ref url="/pages/HH39YqAyjTY0JBAyqLWg" %}
[Configuration](/rtype/development-guidelines-and-how-tos/configuration.md)
{% endcontent-ref %}

### Enemies

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

{% hint style="info" %}
Watch out src/ecs/EnemyFactory.hpp and .cpp
{% endhint %}

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.
