Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 799 Bytes

_health_8hpp.md

File metadata and controls

52 lines (33 loc) · 799 Bytes
title
src/ecs/components/Health.hpp

src/ecs/components/Health.hpp

Namespaces

Name
ecs
ecs::component

Classes

Name
struct ecs::component::Health

Source code

/*
** EPITECH PROJECT, 2022
** RTYPE
** File description:
** Health
*/

#pragma once

#include "Constant.hpp"

namespace ecs::component
{
    struct Health {
        int health;
        int lastHealth = utils::constant::maxPlayerHealth;
    };
} // namespace ecs::component

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