From aebe130299a3c3d14a0d89e68195c303ca120c1b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 22 Dec 2012 09:39:13 +0000 Subject: Reduced most mobs' constructors to oneliners by passing parameters to superclasses git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/MonsterConfig.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'source/MonsterConfig.h') diff --git a/source/MonsterConfig.h b/source/MonsterConfig.h index d1a514b17..371d324c2 100644 --- a/source/MonsterConfig.h +++ b/source/MonsterConfig.h @@ -1,17 +1,32 @@ + #pragma once + + + + +// fwd: class cMonster; + + + + + class cMonsterConfig { public: cMonsterConfig(void); ~cMonsterConfig(); - void AssignAttributes(cMonster *m, const char* n); + void AssignAttributes(cMonster * a_Monster, const AString & a_Name); private: struct sAttributesStruct; struct sMonsterConfigState; sMonsterConfigState* m_pState; void Initialize(); -}; \ No newline at end of file +} ; + + + + -- cgit v1.2.3