# ecs

[More...](#detailed-description)

## Namespaces

| Name                                                                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------------------ |
| [**ecs::component**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Namespaces/namespaceecs_1_1component.md) |
| [**ecs::systems**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Namespaces/namespaceecs_1_1systems.md)     |

## Classes

|       | Name                                                                                                                                              |
| ----- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| class | [**ecs::EnemyFactory**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_enemy_factory.md) |
| class | [**ecs::Engine**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_engine.md)              |
| class | [**ecs::Entity**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_entity.md)              |
| class | [**ecs::Event**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_event.md)                |
| class | [**ecs::Registry**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_registry.md)          |
| class | [**ecs::SparseArray**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_sparse_array.md)   |
| class | [**ecs::World**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_world.md)                |
| class | [**ecs::WorldManager**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_world_manager.md) |

## Functions

|      | Name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| void | [**generateBattlecruiser**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Namespaces/namespaceecs.md#function-generatebattlecruiser)([ecs::World](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_world.md) & world, int posX, int posY, [component::Faction::Factions](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_faction.md#enum-factions) fac, [component::MovementAI::AIType](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_movement_a_i.md#enum-aitype) movAI) |
| void | [**generateDreadnought**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Namespaces/namespaceecs.md#function-generatedreadnought)([ecs::World](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_world.md) & world, int posX, int posY, [component::Faction::Factions](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_faction.md#enum-factions) fac, [component::MovementAI::AIType](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_movement_a_i.md#enum-aitype) movAI)     |
| void | [**generateFighter**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Namespaces/namespaceecs.md#function-generatefighter)([ecs::World](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_world.md) & world, int posX, int posY, [component::Faction::Factions](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_faction.md#enum-factions) fac, [component::MovementAI::AIType](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_movement_a_i.md#enum-aitype) movAI)             |
| void | [**generateFrigate**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Namespaces/namespaceecs.md#function-generatefrigate)([ecs::World](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_world.md) & world, int posX, int posY, [component::Faction::Factions](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_faction.md#enum-factions) fac, [component::MovementAI::AIType](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_movement_a_i.md#enum-aitype) movAI)             |
| void | [**generateScout**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Namespaces/namespaceecs.md#function-generatescout)([ecs::World](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_world.md) & world, int posX, int posY, [component::Faction::Factions](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_faction.md#enum-factions) fac, [component::MovementAI::AIType](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_movement_a_i.md#enum-aitype) movAI)                 |
| void | [**generateTorpedo**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Namespaces/namespaceecs.md#function-generatetorpedo)([ecs::World](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_world.md) & world, int posX, int posY, [component::Faction::Factions](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_faction.md#enum-factions) fac, [component::MovementAI::AIType](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_movement_a_i.md#enum-aitype) movAI)             |
| void | [**generateNoodleMonster**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Namespaces/namespaceecs.md#function-generatenoodlemonster)([ecs::World](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_world.md) & world, int posX, int posY, [component::Faction::Factions](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_faction.md#enum-factions) fac, [component::MovementAI::AIType](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/structecs_1_1component_1_1_movement_a_i.md#enum-aitype) movAI) |

## Detailed Description

[Entity](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Namespaces/Classes/classecs_1_1_entity.md) class is represented by a simple entity\_t according to the global functioning of the ECS

## Functions Documentation

### function generateBattlecruiser

```cpp
static void generateBattlecruiser(
    ecs::World & world,
    int posX,
    int posY,
    component::Faction::Factions fac,
    component::MovementAI::AIType movAI
)
```

### function generateDreadnought

```cpp
static void generateDreadnought(
    ecs::World & world,
    int posX,
    int posY,
    component::Faction::Factions fac,
    component::MovementAI::AIType movAI
)
```

### function generateFighter

```cpp
static void generateFighter(
    ecs::World & world,
    int posX,
    int posY,
    component::Faction::Factions fac,
    component::MovementAI::AIType movAI
)
```

### function generateFrigate

```cpp
static void generateFrigate(
    ecs::World & world,
    int posX,
    int posY,
    component::Faction::Factions fac,
    component::MovementAI::AIType movAI
)
```

### function generateScout

```cpp
static void generateScout(
    ecs::World & world,
    int posX,
    int posY,
    component::Faction::Factions fac,
    component::MovementAI::AIType movAI
)
```

### function generateTorpedo

```cpp
static void generateTorpedo(
    ecs::World & world,
    int posX,
    int posY,
    component::Faction::Factions fac,
    component::MovementAI::AIType movAI
)
```

### function generateNoodleMonster

```cpp
static void generateNoodleMonster(
    ecs::World & world,
    int posX,
    int posY,
    component::Faction::Factions fac,
    component::MovementAI::AIType movAI
)
```

***

Updated on 2022-11-13 at 17:21:37 +0100
