C# Class FlyingEnemyMover, gmap377_leathGloves_inc

Inheritance: BufferedMovement
Exibir arquivo Open project: bi3mer/gmap377_leathGloves_inc Class Usage Examples

Public Properties

Property Type Description
flyingTowardsPlayer bool
maxDistanceFromPlayer float

Public Methods

Method Description
Start ( ) : void

Initialize information

checkPlan ( ) : void

Checks the plan and sees if it needs to be updated

shouldUpdatePlan ( ) : bool

Return true if plan needs to be updated

Private Methods

Method Description
updateTargetForMinimumDistance ( ) : void

Updates the target to take into account the minimum distance.

Method Details

Start() public method

Initialize information
public Start ( ) : void
return void

checkPlan() public method

Checks the plan and sees if it needs to be updated
public checkPlan ( ) : void
return void

shouldUpdatePlan() public method

Return true if plan needs to be updated
public shouldUpdatePlan ( ) : bool
return bool

Property Details

flyingTowardsPlayer public_oe property

public bool flyingTowardsPlayer
return bool

maxDistanceFromPlayer public_oe property

public float maxDistanceFromPlayer
return float