# EntityType.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 | <p><a href="https://github.com/TEAM-AAAAAAAAAAAAAAAA/RTYPE-TECHNICAL-DOCS/blob/main/Files/Classes/structecs_1_1component_1_1_entity_type.md"><strong>ecs::component::EntityType</strong></a><br><a href="_entity_type_8hpp">EntityType</a> component.</p> |

## Source code

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

#pragma once

namespace ecs::component
{
    struct EntityType {
        enum Types {
            Player,
            OtherPlayer,
            PlayerBot,
            Bullet,
            EnergySphere,
            Laser,
            Rocket,
            Asteroid,
            UranusBattlecruiser,
            UranusDreadnought,
            UranusFighter,
            UranusFrigate,
            UranusScout,
            UranusTorpedo,
            JanitorBattlecruiser,
            JanitorDreadnought,
            JanitorFighter,
            JanitorFrigate,
            JanitorScout,
            JanitorTorpedo,
            AlienBattlecruiser,
            AlienDreadnought,
            AlienFighter,
            AlienFrigate,
            AlienScout,
            AlienTorpedo,
            NoodleMonster,
        };
        EntityType(char type) : type(static_cast<Types>(type)) {}
        EntityType(Types type) : type(type) {}
        Types type;
    };
} // namespace ecs::component
```

***

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