My Project
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
HumanBrain Class Reference
Inheritance diagram for HumanBrain:
Modifiable

Classes

class  CaptureBase
 
class  Cover
 
class  Danger
 
class  DestructMelee
 
class  EngageBow
 
class  EngageGun
 
class  EngageMelee
 
class  Globals
 
class  GrabEnemyFlag
 
class  GrabPowerup
 
class  GrabWeapon
 
class  HumanDecision
 
class  Patrol
 
class  ReturnTeamFlag
 
class  ThrowGrenade
 

Public Member Functions

Vector2 GetGunAim (Vector2 target)
 
Vector2 GetMeleeAim (Vector2 target)
 
Vector2 LerpAim (Vector2 target)
 
float GetMeleeDistance ()
 
bool IsStuckAndNotLandingHits (float secs, float startTime, GameObject target)
 
bool ShootEnemy (HumanDecision decision)
 
Waypoint GetCurrentWaypoint ()
 
Waypoint GetTargetWaypoint ()
 

Public Attributes

StandardNavigate navigate
 
StandardBrain.Search search
 
string[] navActions = new string[] { "KeepDistance", "AvoidObstacles" }
 
string[] decisions = new string[] { "CaptureBase", "EngageGun", "Danger", "GrabPowerup", "Cover", "ThrowGrenade" }
 
float meleeDistance
 
float bowDistance
 
float aimDispersion = AIMDISPERSION
 
float reactionTimeSecs = REACTIONTIMESECS
 
GostekMelee gostekMelee
 
GostekBot bot
 
GostekGrenade gostekGrenade
 
GostekWeapon gostekWeapon
 
StandardBrain brain
 
GostekMovement movement
 
GostekPickup gostekPickup
 
Collider2D col
 

Static Public Attributes

static readonly float AIMDISPERSION = 7.5f
 
static readonly float REACTIONTIMESECS = 0.8f
 

Additional Inherited Members

- Properties inherited from Modifiable
NetworkObject net [get]
 

The documentation for this class was generated from the following file: