16 lines
379 B
C#
16 lines
379 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public enum GearboxControlType{
|
|
Manual,
|
|
Automatic
|
|
}
|
|
|
|
public abstract class Gearbox : MonoBehaviour {
|
|
public abstract GearboxControlType ControlType{ get;}
|
|
public abstract float MaxOutputTorque{ get;}
|
|
public abstract int GearsCount{ get;}
|
|
public abstract float GetGearRatio(int gear);
|
|
public abstract int Gear{ get; set;}
|
|
}
|