C# Class AgentValentinTree, PathfindingToolUnity

Inheritance: MonoBehaviour
Show file Open project: benjaml/PathfindingToolUnity

Public Properties

Property Type Description
cdShoot float
ennemyVisibleLol bool
initialPos Vector3
listJoueurs List
rightOrNot bool
shootAttLol bool
shootDefLol bool
target GameObject

Public Methods

Method Description
OnCollisionEnter ( Collision collision ) : void
Start ( ) : void
Update ( ) : void
canIShoot ( ) : bool
checkTree ( ) : void
chooseATarget ( ) : void
esquive ( ) : bool
isNear ( ) : bool
seePlayer ( ) : bool
seekAllOtherPlayers ( ) : void
shoot ( ) : bool
stay ( ) : bool
walk ( ) : bool

Method Details

OnCollisionEnter() public method

public OnCollisionEnter ( Collision collision ) : void
collision Collision
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

canIShoot() public method

public canIShoot ( ) : bool
return bool

checkTree() public method

public checkTree ( ) : void
return void

chooseATarget() public method

public chooseATarget ( ) : void
return void

esquive() public method

public esquive ( ) : bool
return bool

isNear() public method

public isNear ( ) : bool
return bool

seePlayer() public method

public seePlayer ( ) : bool
return bool

seekAllOtherPlayers() public method

public seekAllOtherPlayers ( ) : void
return void

shoot() public method

public shoot ( ) : bool
return bool

stay() public method

public stay ( ) : bool
return bool

walk() public method

public walk ( ) : bool
return bool

Property Details

cdShoot public property

public float cdShoot
return float

ennemyVisibleLol public property

public bool ennemyVisibleLol
return bool

initialPos public property

public Vector3 initialPos
return Vector3

listJoueurs public property

public List listJoueurs
return List

rightOrNot public property

public bool rightOrNot
return bool

shootAttLol public property

public bool shootAttLol
return bool

shootDefLol public property

public bool shootDefLol
return bool

target public property

public GameObject target
return GameObject