Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 861 Bytes

_direction_8hpp.md

File metadata and controls

52 lines (34 loc) · 861 Bytes
title
src/ecs/components/Direction.hpp

src/ecs/components/Direction.hpp

Namespaces

Name
ecs
ecs::component

Classes

Name
struct ecs::component::Direction

Source code

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

#pragma once

namespace ecs::component
{
    struct Direction {
        Direction(char x, char y, bool hasMoved = false) : x(x), y(y), hasMoved(hasMoved) {}
        char x;
        char y;
        bool hasMoved;
    };
} // namespace ecs::component

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