My Project
|
A structure representing the specs of an entity from configuration file. More...
#include <spec.hpp>
Public Member Functions | |
spec_t (nlohmann::json const &jsonData) | |
Public Attributes | |
std::pair< int, int > | direction |
std::pair< std::size_t, std::size_t > | hitbox |
int | velocity |
ENTITY_TYPE | type |
std::pair< float, float > | rect |
int | health |
A structure representing the specs of an entity from configuration file.