Class Vehicle [-] [+]

Represents a vehicle in the game, which can carry passengers and provide special abilities or movement.

Inherits all methods from: none

Methods

AddPassenger Adds Unit passenger to a specified seat in the Vehicle
GetEntry Returns the Vehicle's entry
GetOwner Returns the Vehicle's owner
GetPassenger Returns the Vehicle's passenger in the specified seat
IsOnBoard Returns true if the Unit passenger is on board
RemovePassenger Removes Unit passenger from the Vehicle