Property | Type | Description | |
---|---|---|---|
emitFrequency | double | ||
hasBeenChecked | bool | ||
lastEmissionMS | double | ||
ready | bool | ||
started | bool |
Method | Description | |
---|---|---|
Draw ( |
Draws the spawn point and its path.
|
|
FindElement ( |
Advances the cursor to the element with the specified name.
|
|
GetRouteFromServer ( string bingMapKey, GeoCoordinate sourceCoord, GeoCoordinate TargetCoord ) : void |
Requests a route from the server. It will result in driving directions from the source coordinates to the target coordinates.
|
|
Prepare ( ) : void |
Loads the route from the server, if necessary.
|
|
SpawnPoint ( |
||
makeCreep ( |
Spawns a Creep using the creep factory.
|
|
wcRoute_OpenReadCompleted ( object sender, |
Event handler for the completed bing maps request
|
Method | Description | |
---|---|---|
GetValue ( |
Keep reading until it has a value.
|
|
MakeBuffer ( ) : void |
Create the vertex buffer for path drawing.
|
public Draw ( |
||
time | The current game time. | |
return | void |
public FindElement ( |
||
reader | An XML reader. | |
name | string | The name of the desired element. |
return | void |
public GetRouteFromServer ( string bingMapKey, GeoCoordinate sourceCoord, GeoCoordinate TargetCoord ) : void | ||
bingMapKey | string | API key for this application. |
sourceCoord | GeoCoordinate | Beginning of the path. |
TargetCoord | GeoCoordinate | End of the path. |
return | void |
public SpawnPoint ( |
||
game | ||
startPosition | Vector2 | |
finalPosition | Vector2 | |
return | System |
public makeCreep ( |
||
gameTime | The current game time. | |
return | void |
public wcRoute_OpenReadCompleted ( object sender, |
||
sender | object | Required for event handler. |
e | Required for event handler. | |
return | void |