viotecs 1.1.0
Loading...
Searching...
No Matches
component.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Author: Giovanni Santini
3// Mail: giovanni.santini@proton.me
4// Github: @San7o
5
6#pragma once
7
8#include <viotecs/types.hpp>
9
10namespace viotecs
11{
12
37{
38public:
40
41 bool operator==(const Component &other) const
42 {
43 return (entity == other.entity);
44 }
45};
46
47} // namespace viotecs
Component class.
Definition component.hpp:37
bool operator==(const Component &other) const
Definition component.hpp:41
int EntityId
Definition types.hpp:41