# Faction.hpp

## Namespaces

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

## Classes

|        | Name                                                                                                                                                       |
| ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| struct | [**ecs::component::Faction**](https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Files/Classes/structecs_1_1component_1_1_faction.md) |

## Source code

```cpp
/*
** EPITECH PROJECT, 2022
** RTYPE
** File description:
** Faction
*/

#pragma once

namespace ecs::component
{
    struct Faction {
        enum Factions {
            None,
            Chefs,
            Uranus,
            Janitor,
            Alien,
            Amalgam,
        };

        Faction(Factions faction = Factions::None) : faction(faction) {}

        Factions faction;
    };
} // namespace ecs::component
```

***

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