PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/TGame/TCommon/Combat/CombatCalculatorValidator.h

http://awoe.googlecode.com/
C++ Header | 25 lines | 14 code | 8 blank | 3 comment | 0 complexity | f0d35ba222b6a590b3f8c2a355026612 MD5 | raw file
 1#ifndef	__COMBAT_CALCULATE_IMP__VALIDATOR
 2#define __COMBAT_CALCULATE_IMP__VALIDATOR
 3
 4#include "CombatCalculatorImp.h"
 5
 6
 7class TCOM_API  CombatCalculatorValidator : public CombatCalculatorStandard
 8{
 9public:
10	CombatCalculatorValidator(const CombatResult& s);
11	//
12	//	calculate the combat result
13	//
14	virtual	bool	doCalc(CombatSkill& ab, ICombatSys& c, ICombatSys& t, CombatResult& r);
15
16	virtual bool	doCalcDamage(CombatSkill& ab, ICombatSys& c, ICombatSys& t, CombatResult& r);
17
18	virtual bool	doCalcHeal(CombatSkill& ab, ICombatSys& c, ICombatSys& t, CombatResult& r);
19
20protected:
21	const CombatResult&		m_rSvr;
22};
23
24#endif 
25