C# Class SwingEnemy, 306_project2

Inheritance: MonoBehaviour
Show file Open project: ElliotWhiley/306_project2

Public Properties

Property Type Description
currentRotationZ float
goingRight bool
newRotationZ float
swingVelocity float

Public Methods

Method Description
Accelerate ( ) : void
Awake ( ) : void
Decelerate ( ) : void
Start ( ) : void
Swing ( ) : void

Method Details

Accelerate() public method

public Accelerate ( ) : void
return void

Awake() public method

public Awake ( ) : void
return void

Decelerate() public method

public Decelerate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Swing() public method

public Swing ( ) : void
return void

Property Details

currentRotationZ public property

public float currentRotationZ
return float

goingRight public property

public bool goingRight
return bool

newRotationZ public property

public float newRotationZ
return float

swingVelocity public property

public float swingVelocity
return float