summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/Minecart.h')
-rw-r--r--src/Entities/Minecart.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Entities/Minecart.h b/src/Entities/Minecart.h
index b1b48be4e..e353e18d9 100644
--- a/src/Entities/Minecart.h
+++ b/src/Entities/Minecart.h
@@ -53,15 +53,16 @@ public:
virtual void DoTakeDamage(TakeDamageInfo & TDI) override;
int LastDamage(void) const { return m_LastDamage; }
- void HandleRailPhysics(float a_Dt, cChunk & a_Chunk);
ePayload GetPayload(void) const { return m_Payload; }
protected:
ePayload m_Payload;
+ int m_LastDamage;
cMinecart(ePayload a_Payload, double a_X, double a_Y, double a_Z);
-
- int m_LastDamage;
+ void HandleRailPhysics(NIBBLETYPE a_RailMeta);
+ void HandlePoweredRailPhysics(NIBBLETYPE a_RailMeta);
+ void SnapToRail(NIBBLETYPE a_RailMeta);
} ;