equal
deleted
inserted
replaced
417 |
417 |
418 /** |
418 /** |
419 * Whether this is the primary vehicle in the chain. |
419 * Whether this is the primary vehicle in the chain. |
420 */ |
420 */ |
421 virtual bool IsPrimaryVehicle() const { return false; } |
421 virtual bool IsPrimaryVehicle() const { return false; } |
422 |
|
423 /** |
|
424 * Whether this vehicle understands the concept of a front engine, so |
|
425 * basically, if GetFirstVehicleInChain() can be called for it. |
|
426 */ |
|
427 virtual bool HasFront() const { return false; } |
|
428 |
422 |
429 /** |
423 /** |
430 * Gets the sprite to show for the given direction |
424 * Gets the sprite to show for the given direction |
431 * @param direction the direction the vehicle is facing |
425 * @param direction the direction the vehicle is facing |
432 * @return the sprite for the given vehicle in the given direction |
426 * @return the sprite for the given vehicle in the given direction |