1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once #include <cstdint> #include "../Component.h" namespace crepe { class Force : public Component { public: Force(game_object_id_t id, uint32_t magnitude, uint32_t direction); int32_t force_x; int32_t force_y; }; } // namespace crepe