summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-19 20:31:17 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-19 20:31:17 +0100
commit83cbe8c13996747a49e940f77282ef68de87eba0 (patch)
treefff2c0b39fcc8f1f6c3dba6f97707244bb18002b /src/Entities/Minecart.h
parentAdded one more direction into collision checks (diff)
downloadcuberite-83cbe8c13996747a49e940f77282ef68de87eba0.tar
cuberite-83cbe8c13996747a49e940f77282ef68de87eba0.tar.gz
cuberite-83cbe8c13996747a49e940f77282ef68de87eba0.tar.bz2
cuberite-83cbe8c13996747a49e940f77282ef68de87eba0.tar.lz
cuberite-83cbe8c13996747a49e940f77282ef68de87eba0.tar.xz
cuberite-83cbe8c13996747a49e940f77282ef68de87eba0.tar.zst
cuberite-83cbe8c13996747a49e940f77282ef68de87eba0.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Minecart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Minecart.h b/src/Entities/Minecart.h
index 87f785538..073e78953 100644
--- a/src/Entities/Minecart.h
+++ b/src/Entities/Minecart.h
@@ -65,6 +65,9 @@ protected:
*/
void HandleDetectorRailPhysics(NIBBLETYPE a_RailMeta, float a_Dt);
+ /** Handles activator rails - placeholder for future implementation */
+ void HandleActivatorRailPhysics(NIBBLETYPE a_RailMeta, float a_Dt);
+
/** Snaps a mincecart to a rail's axis, resetting its speed
For curved rails, it changes the cart's direction as well as snapping it to axis */
void SnapToRail(NIBBLETYPE a_RailMeta);