diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-19 20:31:17 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-19 20:31:17 +0100 |
commit | 83cbe8c13996747a49e940f77282ef68de87eba0 (patch) | |
tree | fff2c0b39fcc8f1f6c3dba6f97707244bb18002b /src/Entities/Minecart.h | |
parent | Added one more direction into collision checks (diff) | |
download | cuberite-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.h | 3 |
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); |