changeset 7973 | ce69b7781d4a |
parent 7909 | 8df54a2839a1 |
child 7974 | 6fcdebd75c19 |
--- a/src/vehicle.h Sun Aug 26 20:16:02 2007 +0000 +++ b/src/vehicle.h Sun Aug 26 20:43:22 2007 +0000 @@ -415,6 +415,12 @@ virtual int GetImage(Direction direction) const { return 0; } /** + * Gets the speed in mph that can be sent into SetDParam for string processing. + * @return the vehicle's speed + */ + virtual int GetDisplaySpeed() const { return 0; } + + /** * Calls the tick handler of the vehicle */ virtual void Tick() {};