summaryrefslogtreecommitdiffstats
path: root/source/Entities/Entity.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-22 08:55:58 +0200
committermadmaxoft <github@xoft.cz>2013-08-22 08:55:58 +0200
commit73afb1507d2a0defda8a03f60030dc49bb53f94f (patch)
treeb5a14bb289756f734a8cc7e949e660298167627c /source/Entities/Entity.h
parentAnother fix for #31. (diff)
downloadcuberite-73afb1507d2a0defda8a03f60030dc49bb53f94f.tar
cuberite-73afb1507d2a0defda8a03f60030dc49bb53f94f.tar.gz
cuberite-73afb1507d2a0defda8a03f60030dc49bb53f94f.tar.bz2
cuberite-73afb1507d2a0defda8a03f60030dc49bb53f94f.tar.lz
cuberite-73afb1507d2a0defda8a03f60030dc49bb53f94f.tar.xz
cuberite-73afb1507d2a0defda8a03f60030dc49bb53f94f.tar.zst
cuberite-73afb1507d2a0defda8a03f60030dc49bb53f94f.zip
Diffstat (limited to '')
-rw-r--r--source/Entities/Entity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Entities/Entity.h b/source/Entities/Entity.h
index 820405cb9..dde3eb8c6 100644
--- a/source/Entities/Entity.h
+++ b/source/Entities/Entity.h
@@ -90,12 +90,13 @@ public:
etPlayer,
etPickup,
etMonster,
- etMob = etMonster, // DEPRECATED, use etMonster instead!
etFallingBlock,
etMinecart,
etTNT,
+ etProjectile,
// DEPRECATED older constants, left over for compatibility reasons (plugins)
+ etMob = etMonster, // DEPRECATED, use etMonster instead!
eEntityType_Entity = etEntity,
eEntityType_Player = etPlayer,
eEntityType_Pickup = etPickup,
@@ -276,9 +277,8 @@ public:
/** Descendants override this function to send a command to the specified client to spawn the entity on the client.
To spawn on all eligible clients, use cChunkMap::BroadcastSpawnEntity()
- Needs to have a default implementation due to Lua bindings.
*/
- virtual void SpawnOn(cClientHandle & a_Client) {ASSERT(!"SpawnOn() unimplemented!"); }
+ virtual void SpawnOn(cClientHandle & a_Client) = 0;
// tolua_begin