All pastes #907901 Raw Edit

Someone

public text v1 · immutable
·published 2008-02-17 23:39 UTC
rendered paste body
/***
 * classHuman.h
 *
 * Set the human class prototype
 *
 * @author Leigh Ashton <gravious@gmail.com>
 * @since  06 Feb, 2008.
 **/

#ifndef CLASSHUMAN_H
#define CLASSHUMAN_H

#include <iostream>
#include <string>

	using namespace std;

	class human {

		public:

			human(); 

			// variables

			string name;
			string profession;
			string race;
			string sex;

			// The base stats, not used directly except to work out actual used stats
			int baseHealth;
			int baseEnergy;
			int baseMagic;

			// Used directly, after bounus attributes are worked out
			int health;
			int energy;
			int magic;

			// The base stats, not used directly except to work out actual used stats
			int baseStamina;
			int baseStrength;
			int baseDexterity;
			int baseIntellegence;
			int baseCharisma;

			// Used directly, after bounus attributes are worked out
			int stamina;
			int strength;
			int dexterity;
			int intellegence;
			int charisma;

			// Blade modifiers, these are further adjusted by skills
			int bladeBlock;
			int bladeParry;
			int bladeShieldBlock;
			int bladeDodge;

			// prototypes
			void processModifiers();
			void dump(int objectId);
	};

#endif // CLASSHUMAN_H