Roguelike
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Public Attributes | List of all members
MiscType Struct Reference

#include <defs.h>

Public Member Functions

bool operator== (const MiscType &rhs) const
 

Public Attributes

float weight
 
Tile sprite
 
std::string name
 
std::string description
 
bool use
 
int rarity
 
int size
 

Detailed Description

The definition for the different types of misc items. This defines the various attributes of misc items, and members of this struct are used to construct misc items.

See also
Misc

Member Function Documentation

bool MiscType::operator== ( const MiscType rhs) const
inline

Comparitor for the MiscType.

Member Data Documentation

std::string MiscType::description

A description of the item.

std::string MiscType::name

The name of the item.

int MiscType::rarity

How likely it is tha the item will appear.

int MiscType::size

The size of the item.

Tile MiscType::sprite

The tile which will be used to graphically represent the item.

bool MiscType::use

True if the item has a use beyond changing attack.

float MiscType::weight

How much the item weighs.


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