Comments for TrySpawnChicken() and TeleportUser().
This commit is contained in:
1 parent
cb7f1ee4bb
commit
256691461b
1 file changed
+2
@@ -210,6 +210,7 @@ protected:
|
||||
virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override;
|
||||
virtual void OnHitEntity (cEntity & a_EntityHit, const Vector3d & a_HitPos) override;
|
||||
|
||||
// Randomly decides whether to spawn a chicken where the egg lands.
|
||||
void TrySpawnChicken(const Vector3d & a_HitPos);
|
||||
|
||||
// tolua_begin
|
||||
@@ -241,6 +242,7 @@ protected:
|
||||
virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override;
|
||||
virtual void OnHitEntity (cEntity & a_EntityHit, const Vector3d & a_HitPos) override;
|
||||
|
||||
// Teleports the user where the ender pearl lands.
|
||||
void TeleportUser(const Vector3d & a_HitPos);
|
||||
|
||||
// tolua_begin
|
||||
|
||||
Reference in new issue
Block a user