#include <defs.h>
Public Member Functions | |
bool | operator== (const EnemyType &rhs) const |
Public Attributes | |
int | moral |
std::vector< int > | stats |
int | id |
int | sight |
int | view |
int | speed |
std::string | name |
Tile | sprite |
MiscType | corpse |
std::vector< EquipType > | eq |
std::vector< WeaponType > | wep |
The definition for the different types of enemies. This defines the various attributes of enemies, and members of this struct are used to construct enemies.
MiscType EnemyType::corpse |
The attribute used to create the member varaible corpse for enemies.
std::vector<EquipType> EnemyType::eq |
A list of possible equipment that enemies can have.
int EnemyType::id |
The attribute to assign the member variable id for enemies.
int EnemyType::moral |
The attribute to assign the member variable moral for enemies.
std::string EnemyType::name |
The attribute to assign the member variable name for enemies.
int EnemyType::sight |
The attribute to assign the member variable sight for enemies.
int EnemyType::speed |
The attribute to assign the member variable speed for enemies.
Tile EnemyType::sprite |
The attribute to assign the member variable sprite for enemies.
std::vector<int> EnemyType::stats |
The attributes to assign the member variables.
int EnemyType::view |
The attribute to asisgn to the member variable view for enemies.
std::vector<WeaponType> EnemyType::wep |
A list of possible weapons that enemies can have.