title |
---|
src/ecs/components/client/Hitbox.hpp |
Name |
---|
ecs |
ecs::component |
Name | |
---|---|
struct | ecs::component::Hitbox |
/*
** EPITECH PROJECT, by hourcadettej on 10/29/22.
** rtype
** File description:
** rtype
*/
#pragma once
#include "SFML/Window/Keyboard.hpp"
namespace ecs::component
{
struct Hitbox {
explicit Hitbox() : enableHitBox(false){}
bool enableHitBox;
inline void switchHitBox() { enableHitBox = !enableHitBox;};
};
} // namespace ecs::component
Updated on 2022-11-13 at 17:21:37 +0100