*
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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;}
|
||||
}
|
||||
Reference in New Issue
Block a user