Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 918 Bytes

_hitbox_8hpp.md

File metadata and controls

56 lines (34 loc) · 918 Bytes
title
src/ecs/components/client/Hitbox.hpp

src/ecs/components/client/Hitbox.hpp

Namespaces

Name
ecs
ecs::component

Classes

Name
struct ecs::component::Hitbox

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