C# 클래스 AStarTest.MapControl

상속: Dwarrowdelf.Client.TileControl.TileControlCore3D, INotifyPropertyChanged
파일 보기 프로젝트 열기: tomba/dwarrowdelf 1 사용 예제들

공개 메소드들

메소드 설명
GetPathReverse ( AStarNode lastNode ) : IEnumerable
MapControl ( ) : System
RunTest ( int test ) : void
ScreenPointToMapLocation ( Point p ) : IntVector3
ScreenTileToMapLocation ( IntVector2 st ) : IntVector3
Signal ( ) : void

보호된 메소드들

메소드 설명
OnInitialized ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnRenderTiles ( DrawingContext drawingContext, Size renderSize, TileRenderContext ctx ) : void

비공개 메소드들

메소드 설명
AStarDebugCallback ( AStarNode>.IDictionary nodes ) : void
ClearMap ( ) : void
DoAStar ( IntVector3 src, IntVector3 dst ) : void
MapControl_GridSizeChanged ( object ob, IntSize2 gridSize ) : void
MapControl_ScreenCenterPosChanged ( object arg1, DoubleVector3 arg2, IntVector3 arg3 ) : void
Notify ( string propertyName ) : void
OnDragAborted ( ) : void
OnDragEnded ( Point pos ) : void
OnDragStarted ( Point pos ) : void
OnDragging ( Point pos ) : void
OnMouseClicked ( object sender, MouseButtonEventArgs e ) : void
UpdateCurrentTileInfo ( Point pos ) : void
UpdateTile ( RenderTileData &tile, IntVector3 ml ) : void

메소드 상세

GetPathReverse() 공개 메소드

public GetPathReverse ( AStarNode lastNode ) : IEnumerable
lastNode Dwarrowdelf.AStarNode
리턴 IEnumerable

MapControl() 공개 메소드

public MapControl ( ) : System
리턴 System

OnInitialized() 보호된 메소드

protected OnInitialized ( EventArgs e ) : void
e EventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnRenderTiles() 보호된 메소드

protected OnRenderTiles ( DrawingContext drawingContext, Size renderSize, TileRenderContext ctx ) : void
drawingContext DrawingContext
renderSize Size
ctx TileRenderContext
리턴 void

RunTest() 공개 메소드

public RunTest ( int test ) : void
test int
리턴 void

ScreenPointToMapLocation() 공개 메소드

public ScreenPointToMapLocation ( Point p ) : IntVector3
p Point
리턴 IntVector3

ScreenTileToMapLocation() 공개 메소드

public ScreenTileToMapLocation ( IntVector2 st ) : IntVector3
st IntVector2
리턴 IntVector3

Signal() 공개 메소드

public Signal ( ) : void
리턴 void