C# Class BingMaps.RouteRender

Afficher le fichier Open project: dideler/gps-tower-defense Class Usage Examples

Méthodes publiques

Méthode Description
AddRouteLine ( Vector2 startPoint, Vector2 endPoint, Microsoft.Xna.Framework.Color color ) : void

Adds a new line to draw.

EndRoute ( ) : void

Draws the route and removes all lines contained in the instance.

RouteRender ( GraphicsDevice graphicsDevice ) : System.Collections.Generic

Create new instance of RouteRender class.

Method Details

AddRouteLine() public méthode

Adds a new line to draw.
public AddRouteLine ( Vector2 startPoint, Vector2 endPoint, Microsoft.Xna.Framework.Color color ) : void
startPoint Microsoft.Xna.Framework.Vector2 The start point of the line.
endPoint Microsoft.Xna.Framework.Vector2 The end point of the line.
color Microsoft.Xna.Framework.Color The color of the line.
Résultat void

EndRoute() public méthode

Draws the route and removes all lines contained in the instance.
public EndRoute ( ) : void
Résultat void

RouteRender() public méthode

Create new instance of RouteRender class.
public RouteRender ( GraphicsDevice graphicsDevice ) : System.Collections.Generic
graphicsDevice GraphicsDevice
Résultat System.Collections.Generic