diff options
Diffstat (limited to 'src/components/Player.hpp')
-rw-r--r-- | src/components/Player.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/Player.hpp b/src/components/Player.hpp index 5c1e870..95b2a96 100644 --- a/src/components/Player.hpp +++ b/src/components/Player.hpp @@ -23,13 +23,18 @@ #include "Component.hpp" -struct Player : Component<Player>, entityx::Component<Player> +struct Player : Component<Player> { public: + char _unused; + Player FromLua([[maybe_unused]] sol::object ref) { return *this; } + + void serialize([[maybe_unused]] cereal::JSONOutputArchive& ar) final {} + void serialize([[maybe_unused]] cereal::JSONInputArchive& ar) final {} }; #endif // COMPONENT_PLAYER_HPP_ |