From d987781b24c6f505a61a01794b6bc76b07c9b25d Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 8 Mar 2021 23:28:31 +0000 Subject: add infinity vehicle ride --- Vehicle.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Vehicle.cpp') diff --git a/Vehicle.cpp b/Vehicle.cpp index 3e71db4..9a5153c 100644 --- a/Vehicle.cpp +++ b/Vehicle.cpp @@ -23,3 +23,8 @@ bool Vehicle::Draw(int bound_x) return ret; } + +int Vehicle::GetLength() +{ + return veh_info[type].length; +} \ No newline at end of file -- cgit v1.2.3-18-g5258