C# Class MobAI, 2DPlatformer

Show file Open project: MarbleGameDev/2DPlatformer Class Usage Examples

Public Properties

Property Type Description
attackDamage float
knockbackModifier float
movementSpeed int
nextWaypointDistance float
path Path,
range int
tempPos Vector3

Public Methods

Method Description
Cooldown ( ) : void
FixedUpdate ( ) : void
Hit ( ) : void
OnCollisionStay ( Collision coll ) : void
OnPathComplete ( Path, p ) : void
SetupPath ( ) : void
Start ( ) : void

Private Methods

Method Description
StopMoving ( ) : void

Method Details

Cooldown() public method

public Cooldown ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Hit() public method

public Hit ( ) : void
return void

OnCollisionStay() public method

public OnCollisionStay ( Collision coll ) : void
coll Collision
return void

OnPathComplete() public method

public OnPathComplete ( Path, p ) : void
p Path,
return void

SetupPath() public method

public SetupPath ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

attackDamage public property

public float attackDamage
return float

knockbackModifier public property

public float knockbackModifier
return float

movementSpeed public property

public int movementSpeed
return int

nextWaypointDistance public property

public float nextWaypointDistance
return float

path public property

public Path, path
return Path,

range public property

public int range
return int

tempPos public property

public Vector3 tempPos
return Vector3