Method | Description | |
---|---|---|
SetOwner ( Entity owner ) : void | ||
SetZone ( Zone zone ) : void | ||
ThinkRoamAround ( |
||
ThinkRoamAround ( Vector2 anchor, float roamingRadius, float attackRange = 60, float sightRange = 110, int damage = 10, bool canBeAttacked = true ) : System | ||
Update ( |
Method | Description | |
---|---|---|
AggroActions ( |
||
CheckForTarget ( ) : void | ||
CreateTargetPosition ( ) : Vector2 | ||
IdleActions ( |
public ThinkRoamAround ( |
||
data | ||
return | System |
public ThinkRoamAround ( Vector2 anchor, float roamingRadius, float attackRange = 60, float sightRange = 110, int damage = 10, bool canBeAttacked = true ) : System | ||
anchor | Vector2 | |
roamingRadius | float | |
attackRange | float | |
sightRange | float | |
damage | int | |
canBeAttacked | bool | |
return | System |
public Update ( |
||
gameTime | ||
return | void |