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