Race

The race class represents the information relating to a specific race. This is mostly for general information such as name and potentially a lengthy description. It is also used as an identifier for the race of a Character.
Return to Index
new ( string race_name )
__gc ( )
__eq ( am.race rhs ) -> ( boolean )
race_name ( ) -> ( string )
new ( string race_name )
Creates a new race with the given race name.
Parameters:
string race_name : The race name that is used to identify this race.
__gc ( )
TODO
__eq ( am.race rhs ) -> ( boolean )
Compares this race against another race object.
Parameters:
am.race rhs : The other race object to compare with.
Returns:
boolean : True if the the they are the same race object.
race_name ( ) -> ( string )
Returns the race name identifier for this race.
Returns:
string : The race name.