Vixen
c7401864
csharp
public record class VehicleDefinition

A mount, a car, a glider, a boat or a submarine — one type.

Read the guide page for this →

Fields and properties (6)

  • public string DisplayName

    What it is called.

  • public VehicleKind Kind

    What sort it is.

  • public string Tag

    What being in it at all is — State.Mounted. Empty for one nothing asks about.

  • public List<SeatDefinition> Seats

    Its seats. The first that controls is the driver's.

  • public VehiclePhysicsDefinition Physics

    What the physics wants.

  • public bool PassengersMaySteer

    Whether a passenger may take the driver's seat when it is empty.

Methods (1)

  • public override void CollectTags(ICollection<string> tags)

    Every tag this definition mentions, so the content build can bake the tag table.

Used by (7)

  • ContentVixen.Gameplay.Movement.Tests
  • MovementLibraryVixen.Gameplay.Movement
  • MovementModuleVixen.Gameplay.Movement
  • TypeRegistrationVixen.Gameplay.Movement
  • VehicleVixen.Gameplay.Movement
  • VehicleTestsVixen.Gameplay.Movement.Tests
  • Vixen_Gameplay_Movement_VehicleDefinitionSerializerVixen.Gameplay.Movement