diff options
Diffstat (limited to 'Vehicle.cpp')
-rw-r--r-- | Vehicle.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 |