class PlayerChar
|
Represents a player-controlled character. More... |
|
|
Public Members
- PlayerChar (int,int,PWeapon,PArmour,int,char *)
- ~PlayerChar ()
- virtual int getAC (int DT)
- virtual int getAC ()
- int getTHACO ()
- int earnXP (int amount)
- bool haveClass ()
- virtual void doDamage (Character &target)
Detailed Description
Represents a player-controlled character.
Has ability scores, a race, and a class.
[virtual]Gets the AC for damage type DT, modified for Dex
[virtual]Gets the AC for no damage type, modified for Dex
Gets the THACO modified by strength
Adds to XP amount points
Shows that this class has character classes
[virtual] Does weapon damage to target.
- Author: Daniel Roberge
- Generated: droberge@magebook.localdomain on Mon Jul 3 13:20:08 200.