C# Class BingMaps.RouteRender

Mostrar archivo Open project: dideler/gps-tower-defense Class Usage Examples

Public Methods

Method 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 method

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.
return void

EndRoute() public method

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

RouteRender() public method

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