PageRenderTime 45ms CodeModel.GetById 42ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/TGame/TCommon/Combat/CombatCalculatorImp.h

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