C# Class Movement, cs-mini-modbot-simulation

Inheritance: MonoBehaviour
Show file Open project: intel-cornellcup/mini-modbot-simulation Class Usage Examples

Public Properties

Property Type Description
ACCEL float
MAX_SPEED float
boost float
isAI bool
kartNum int
studder float
writePositionsToFile bool

Public Methods

Method Description
OnDrawGizmosSelected ( ) : void

Draws the current waypoints for an AI car

getWheelOrien ( ) : float
isArtificialIntelligence ( ) : bool

Returns whether the car is an AI car or a player controlled car

isForward ( ) : bool

Private Methods

Method Description
FixedUpdate ( ) : void

Update is called once per frame

Start ( ) : void

Use this for initialization

WriteToRepo ( ) : void

Method Details

OnDrawGizmosSelected() public method

Draws the current waypoints for an AI car
public OnDrawGizmosSelected ( ) : void
return void

getWheelOrien() public method

public getWheelOrien ( ) : float
return float

isArtificialIntelligence() public method

Returns whether the car is an AI car or a player controlled car
public isArtificialIntelligence ( ) : bool
return bool

isForward() public method

public isForward ( ) : bool
return bool

Property Details

ACCEL public static property

public static float ACCEL
return float

MAX_SPEED public property

public float MAX_SPEED
return float

boost public property

public float boost
return float

isAI public property

public bool isAI
return bool

kartNum public property

public int kartNum
return int

studder public property

public float studder
return float

writePositionsToFile public property

public bool writePositionsToFile
return bool