C# Class HindEvasion, Heracles

Inheritance: MonoBehaviour
Show file Open project: TrinityUniversityGameDesign/Heracles

Public Properties

Property Type Description
anim Animator
facingRight bool
jumpTime float
platforms GameObject[]
startPlatform GameObject

Public Methods

Method Description
ChangePosition ( ) : void
CheckDistance ( GameObject triggerPlatform ) : void
FixedUpdate ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
GetAcceleration ( Vector2 targetPosition ) : Vector2
flip ( ) : void

Method Details

ChangePosition() public method

public ChangePosition ( ) : void
return void

CheckDistance() public method

public CheckDistance ( GameObject triggerPlatform ) : void
triggerPlatform GameObject
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

anim public property

public Animator anim
return Animator

facingRight public property

public bool facingRight
return bool

jumpTime public property

public float jumpTime
return float

platforms public property

public GameObject[] platforms
return GameObject[]

startPlatform public property

public GameObject startPlatform
return GameObject