diff options
author | madmaxoft <github@xoft.cz> | 2013-10-20 13:10:21 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-20 13:10:21 +0200 |
commit | 359918127b0861ca3c908501807ee227faccf7ff (patch) | |
tree | c6335d6123b560f99df06a95a7f5c18f6142d08e /source/MobTypesManager.h | |
parent | APIDump: Added basic statistics about the docs. (diff) | |
download | cuberite-359918127b0861ca3c908501807ee227faccf7ff.tar cuberite-359918127b0861ca3c908501807ee227faccf7ff.tar.gz cuberite-359918127b0861ca3c908501807ee227faccf7ff.tar.bz2 cuberite-359918127b0861ca3c908501807ee227faccf7ff.tar.lz cuberite-359918127b0861ca3c908501807ee227faccf7ff.tar.xz cuberite-359918127b0861ca3c908501807ee227faccf7ff.tar.zst cuberite-359918127b0861ca3c908501807ee227faccf7ff.zip |
Diffstat (limited to '')
-rw-r--r-- | source/MobTypesManager.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/source/MobTypesManager.h b/source/MobTypesManager.h index 6fc8bcfeb..ce50ab4b0 100644 --- a/source/MobTypesManager.h +++ b/source/MobTypesManager.h @@ -15,9 +15,9 @@ class cFastRandom; /** This class aggregates static functions about mob types: - - create a mob from its type (as enum) (in that way it is a compiler-proxy for mobs) - - transform MobTypes from enums to string and vice versa - - return mob family from given type + - create a mob from its type (as enum) (in that way it is a compiler-proxy for mobs) + - transform MobTypes from enums to string and vice versa + - return mob family from given type */ class cMobTypesManager { @@ -34,19 +34,6 @@ public: asserts if invalid size for mobs that need size */ static cMonster * NewMonsterFromType(cMonster::eType a_MobType, int a_Size = -1); - -protected : - typedef const std::map<cMonster::eType,std::string> tMobTypes2Names; - static tMobTypes2Names& m_MobsTypes2Names(void); - static tMobTypes2Names MobTypes2NamesInitializerBeforeCx11(void); - - typedef const std::map<cMonster::eType,cMonster::eFamily> tMobType2Family; - static tMobType2Family& m_MobsType2Family(void); - static tMobType2Family MobType2FamilyInitializerBeforeCx11(void); - - static cFastRandom & m_Random(void); - -public : } ; |