summaryrefslogtreecommitdiffstats
path: root/source/Entities/Minecart.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-02 13:01:49 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-02 13:01:49 +0200
commitb5c63d8fc50d9f8ff179988a9a14010de89f5d75 (patch)
treec01da79d1b1c514588f2bb2f724f57f9c182916e /source/Entities/Minecart.h
parentPhysics enhancements (diff)
downloadcuberite-b5c63d8fc50d9f8ff179988a9a14010de89f5d75.tar
cuberite-b5c63d8fc50d9f8ff179988a9a14010de89f5d75.tar.gz
cuberite-b5c63d8fc50d9f8ff179988a9a14010de89f5d75.tar.bz2
cuberite-b5c63d8fc50d9f8ff179988a9a14010de89f5d75.tar.lz
cuberite-b5c63d8fc50d9f8ff179988a9a14010de89f5d75.tar.xz
cuberite-b5c63d8fc50d9f8ff179988a9a14010de89f5d75.tar.zst
cuberite-b5c63d8fc50d9f8ff179988a9a14010de89f5d75.zip
Diffstat (limited to 'source/Entities/Minecart.h')
-rw-r--r--source/Entities/Minecart.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/Entities/Minecart.h b/source/Entities/Minecart.h
index 91336673d..b3386fbc9 100644
--- a/source/Entities/Minecart.h
+++ b/source/Entities/Minecart.h
@@ -37,7 +37,10 @@ public:
// cEntity overrides:
virtual bool Initialize(cWorld * a_World) override;
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
- virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
+ virtual void HandlePhysics(float a_Dt, cChunk & a_Chunk) override;
+ void HandleRailPhysics(float a_Dt, cChunk & a_Chunk);
+ virtual void DoTakeDamage(TakeDamageInfo & TDI) override;
+
ePayload GetPayload(void) const { return m_Payload; }