Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 955 Bytes

_faction_8hpp.md

File metadata and controls

60 lines (40 loc) · 955 Bytes
title
src/ecs/components/Faction.hpp

src/ecs/components/Faction.hpp

Namespaces

Name
ecs
ecs::component

Classes

Name
struct ecs::component::Faction

Source code

/*
** 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