BITFALL/Assets/WSM Game Studio/Train Controller_v3/Shared/Scripts/Extensions Interfaces/IRailwayVehicle.cs

29 lines
829 B
C#
Raw Normal View History

2024-03-22 20:16:32 +08:00
using UnityEngine;
using System.Collections.Generic;
namespace WSMGameStudio.RailroadSystem
{
public interface IRailwayVehicle
{
Rigidbody JointAnchor { get; set; }
Rigidbody FrontJoint { get; set; }
Rigidbody BackJoint { get; set; }
List<TrainWheel_v3> Wheels { get; set; }
AudioSource WheelsSFX { get; set; }
AudioSource BrakesSFX { get; set; }
AudioSource WagonConnectionSFX { get; set; }
Sensors Sensors { get; set; }
List<Light> ExternalLights { get; set; }
List<Light> InternalLights { get; set; }
GameObject GetGameObject { get; }
TrainType TrainType { get; }
int LocalDirection { get; }
float CouplersDistance { get; }
void ToggleLights();
void ToggleInternalLights();
}
}