element_colour_calc Struct Reference

#include <colour.h>

Inheritance diagram for element_colour_calc:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 element_colour_calc (element_type _type, std::string _name, element_colour_calculator _calc)
virtual int get (const coord_def &loc=coord_def(), bool non_random=false)
virtual ~element_colour_calc ()

Public Attributes

element_type type
std::string name

Protected Member Functions

int rand (bool non_random)

Protected Attributes

element_colour_calculator calc


Constructor & Destructor Documentation

element_colour_calc::element_colour_calc ( element_type  _type,
std::string  _name,
element_colour_calculator  _calc 
) [inline]

virtual element_colour_calc::~element_colour_calc (  )  [inline, virtual]


Member Function Documentation

int element_colour_calc::get ( const coord_def loc = coord_def(),
bool  non_random = false 
) [virtual]

Reimplemented in random_element_colour_calc, and lua_element_colour_calc.

Here is the call graph for this function:

int element_colour_calc::rand ( bool  non_random  )  [protected]

Here is the call graph for this function:


Member Data Documentation


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

Generated on Thu Jan 13 13:33:17 2011 by  doxygen 1.5.6