Property | Type | Description | |
---|---|---|---|
body | |||
max_speed | float | ||
player | |||
radius | float | ||
rand | |||
shape | |||
target | Vector2 |
Method | Description | |
---|---|---|
Draw ( GraphicsDevice device, Camera camera ) : void | ||
Enemy ( ) : System | ||
SetPosition ( Vector2 position ) : void | ||
SetVelocity ( Vector2 velocity ) : void | ||
Update ( double elapsed ) : void | ||
UpdateTarget ( |
Method | Description | |
---|---|---|
LimitSpeed ( ) : void |
public Draw ( GraphicsDevice device, Camera camera ) : void | ||
device | GraphicsDevice | |
camera | Camera | |
return | void |
public SetPosition ( Vector2 position ) : void | ||
position | Vector2 | |
return | void |
public SetVelocity ( Vector2 velocity ) : void | ||
velocity | Vector2 | |
return | void |
public UpdateTarget ( |
||
physics | ||
elapsed | double | |
return | void |