C# 클래스 ARCed.Controls.TilesetXnaPanel

파일 보기 프로젝트 열기: borisblizzard/arcreator

Private Properties

프로퍼티 타입 설명
ChangeData void
InitializeComponent void
RefreshBush void
RefreshCounter void
RefreshPassage void
RefreshPassage4Dir void
RefreshPriority void
RefreshTerrain void
ResetPoints void
TilesetXnaPanelMouseLeave void
TroopXnaPanelMouseDown void
TroopXnaPanelMouseMove void
TroopXnaPanelMouseUp void
TroopXnaPanel_Disposed void
sprite_OnSelectionChanged void

공개 메소드들

메소드 설명
GetTileAtPoint ( Point point ) : int

Gets the ID of the tile at the specified Point.

GetTileAtPoint ( int x, int y ) : int

Gets the ID of the tile at the specified X and Y.

GetTileVector ( int tileId ) : Vector2
TilesetXnaPanel ( ) : System

Default constructor

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

Draw ( ) : void

Performs painting of the control

Initialize ( ) : void

Creates the context and prepares for drawing

비공개 메소드들

메소드 설명
ChangeData ( MouseEventArgs e ) : void

Performs logic for changing tileset data during mouse events.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RefreshBush ( ) : void
RefreshCounter ( ) : void
RefreshPassage ( ) : void
RefreshPassage4Dir ( ) : void
RefreshPriority ( ) : void
RefreshTerrain ( ) : void
ResetPoints ( ) : void
TilesetXnaPanelMouseLeave ( object sender, EventArgs e ) : void
TroopXnaPanelMouseDown ( object sender, MouseEventArgs e ) : void
TroopXnaPanelMouseMove ( object sender, MouseEventArgs e ) : void
TroopXnaPanelMouseUp ( object sender, MouseEventArgs e ) : void
TroopXnaPanel_Disposed ( object sender, EventArgs e ) : void
sprite_OnSelectionChanged ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Draw() 보호된 메소드

Performs painting of the control
protected Draw ( ) : void
리턴 void

GetTileAtPoint() 공개 메소드

Gets the ID of the tile at the specified Point.
public GetTileAtPoint ( Point point ) : int
point Microsoft.Xna.Framework.Point Coordinates to check, in pixels.
리턴 int

GetTileAtPoint() 공개 메소드

Gets the ID of the tile at the specified X and Y.
public GetTileAtPoint ( int x, int y ) : int
x int X-coordinate value, in pixels.
y int Y-coordinate value, in pixels.
리턴 int

GetTileVector() 공개 메소드

public GetTileVector ( int tileId ) : Vector2
tileId int
리턴 Vector2

Initialize() 보호된 메소드

Creates the context and prepares for drawing
protected Initialize ( ) : void
리턴 void

TilesetXnaPanel() 공개 메소드

Default constructor
public TilesetXnaPanel ( ) : System
리턴 System