My Project
Public Member Functions | Public Attributes | List of all members
spec_t Struct Reference

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
 

Detailed Description

A structure representing the specs of an entity from configuration file.


The documentation for this struct was generated from the following file: