C# 클래스 BingMaps.RouteRender

파일 보기 프로젝트 열기: dideler/gps-tower-defense 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

AddRouteLine() 공개 메소드

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.
리턴 void

EndRoute() 공개 메소드

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

RouteRender() 공개 메소드

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