My Project
 
Loading...
Searching...
No Matches
Generator Class Reference

#include <generator.h>

Collaboration diagram for Generator:

Classes

class  Category
 

Static Public Member Functions

static Itemrandom ()
 
static Itemrandom (Category::Type cat)
 
static ArmorrandomArmor ()
 
static WeaponrandomWeapon ()
 
static void reset ()
 

Static Public Attributes

static Category WEAPON
 
static Category ARMOR
 
static Category POTION
 
static Category SCROLL
 
static Category WAND
 
static Category RING
 
static Category SEED
 
static Category FOOD
 
static Category GOLD
 
static Category MISC
 

Member Function Documentation

◆ random() [1/2]

Item * Generator::random ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ random() [2/2]

Item * Generator::random ( Category::Type cat)
static
Here is the call graph for this function:

◆ randomArmor()

Armor * Generator::randomArmor ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ randomWeapon()

Weapon * Generator::randomWeapon ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset()

void Generator::reset ( )
static

Member Data Documentation

◆ ARMOR

Generator::Category Generator::ARMOR
static

◆ FOOD

Generator::Category Generator::FOOD
static

◆ GOLD

Generator::Category Generator::GOLD
static

◆ MISC

Generator::Category Generator::MISC
static

◆ POTION

Generator::Category Generator::POTION
static

◆ RING

Generator::Category Generator::RING
static

◆ SCROLL

Generator::Category Generator::SCROLL
static

◆ SEED

Generator::Category Generator::SEED
static

◆ WAND

Generator::Category Generator::WAND
static

◆ WEAPON

Generator::Category Generator::WEAPON
static

The documentation for this class was generated from the following files: