Property | Type | Description | |
---|---|---|---|
changeDirection | System.TimeSpan | ||
comfortZone | |||
isRoaming | bool | ||
speed | int |
Method | Description | |
---|---|---|
Interact ( ) : void | ||
NPCCharacter ( Vector2 location, |
||
Update ( |
Method | Description | |
---|---|---|
switchDirection ( |
Randomly switch directions.
|
public NPCCharacter ( Vector2 location, |
||
location | Vector2 | |
drawBox | ||
boundingBox | ||
return | System |
public Update ( |
||
gameTime | ||
gameReference | ||
return | void |
protected TimeSpan,System changeDirection | ||
return | System.TimeSpan |
protected Rectangle,Microsoft.Xna.Framework comfortZone | ||
return |