title |
---|
src/ecs/components/Direction.hpp |
Name |
---|
ecs |
ecs::component |
Name | |
---|---|
struct | ecs::component::Direction |
/*
** 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