summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/MobSpawnerEntity.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-27 00:07:17 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-27 00:07:17 +0200
commit5e71d5299c9cc8c80166ab202f376ffb086a2fa7 (patch)
tree7fd3098561d3f1a36f786f98fb78994bf621b81f /src/BlockEntities/MobSpawnerEntity.h
parentMerge branch 'master' into MobSpawner (diff)
downloadcuberite-5e71d5299c9cc8c80166ab202f376ffb086a2fa7.tar
cuberite-5e71d5299c9cc8c80166ab202f376ffb086a2fa7.tar.gz
cuberite-5e71d5299c9cc8c80166ab202f376ffb086a2fa7.tar.bz2
cuberite-5e71d5299c9cc8c80166ab202f376ffb086a2fa7.tar.lz
cuberite-5e71d5299c9cc8c80166ab202f376ffb086a2fa7.tar.xz
cuberite-5e71d5299c9cc8c80166ab202f376ffb086a2fa7.tar.zst
cuberite-5e71d5299c9cc8c80166ab202f376ffb086a2fa7.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/MobSpawnerEntity.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/BlockEntities/MobSpawnerEntity.h b/src/BlockEntities/MobSpawnerEntity.h
index b12a97d65..7fec2699c 100644
--- a/src/BlockEntities/MobSpawnerEntity.h
+++ b/src/BlockEntities/MobSpawnerEntity.h
@@ -45,10 +45,10 @@ public:
void SpawnEntity(void);
/** Returns the entity type who will be spawn by this mob spawner. */
- cMonster::eType GetEntity(void) const { return m_Entity; }
+ eMonsterType GetEntity(void) const { return m_Entity; }
/** Sets the entity type who will be spawn by this mob spawner. */
- void SetEntity(cMonster::eType a_EntityType) { m_Entity = a_EntityType; }
+ void SetEntity(eMonsterType a_EntityType) { m_Entity = a_EntityType; }
/** Returns the entity name. (Required by the protocol) */
AString GetEntityName(void) const;
@@ -57,7 +57,7 @@ public:
int GetSpawnDelay(void) const { return m_SpawnDelay; }
int GetNearbyPlayersNum(void);
- int GetNearbyEntityNum(cMonster::eType a_EntityType);
+ int GetNearbyMonsterNum(eMonsterType a_EntityType);
// tolua_end
@@ -68,7 +68,7 @@ public:
private:
/** The entity to spawn. */
- cMonster::eType m_Entity;
+ eMonsterType m_Entity;
int m_SpawnDelay;