EntityType.hpp
Namespaces
Name
Classes
Name
struct
Source code
/*
** 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
Last updated