C# 클래스 PathfindingTest.UI.Menus.Multiplayer.Panels.MapSelectionPanel

상속: XNAInterfaceComponents.ParentComponents.XNADialog
파일 보기 프로젝트 열기: Wotuu/RTS_XNA_v2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
panels CustomArrayList
previewTextureSize Vector2

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
DoLayout ( ) : void
Draw ( SpriteBatch sb ) : void
GetDepth ( ) : int

Override the XNADialog GetDepth() function to be a fraction lower.

GetSelectedMap ( ) : String

Gets the currently selected map.

GetSelectedMapEntry ( ) : MapEntryPanel

Gets the currently selected map entry.

LoadMapNames ( ) : CustomArrayList

Loads the mapnames from disk.

MapSelectionPanel ( MapPreviewPanel previewPanel, String selectedMapName ) : System
OnMapSelectionChanged ( MapEntryPanel newSelection ) : void

Called when the map selection has changed.

OnOKClick ( XNAButton source ) : void

Called when the OK button was pressed.

Unload ( ) : void

메소드 상세

DoLayout() 공개 메소드

public DoLayout ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

GetDepth() 공개 메소드

Override the XNADialog GetDepth() function to be a fraction lower.
public GetDepth ( ) : int
리턴 int

GetSelectedMap() 공개 메소드

Gets the currently selected map.
public GetSelectedMap ( ) : String
리턴 String

GetSelectedMapEntry() 공개 메소드

Gets the currently selected map entry.
public GetSelectedMapEntry ( ) : MapEntryPanel
리턴 MapEntryPanel

LoadMapNames() 공개 메소드

Loads the mapnames from disk.
public LoadMapNames ( ) : CustomArrayList
리턴 CustomArrayList

MapSelectionPanel() 공개 메소드

public MapSelectionPanel ( MapPreviewPanel previewPanel, String selectedMapName ) : System
previewPanel MapPreviewPanel
selectedMapName String
리턴 System

OnMapSelectionChanged() 공개 메소드

Called when the map selection has changed.
public OnMapSelectionChanged ( MapEntryPanel newSelection ) : void
newSelection MapEntryPanel
리턴 void

OnOKClick() 공개 메소드

Called when the OK button was pressed.
public OnOKClick ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton The XNA Button
리턴 void

Unload() 공개 메소드

public Unload ( ) : void
리턴 void

프로퍼티 상세

panels 공개적으로 프로퍼티

public CustomArrayList panels
리턴 CustomArrayList

previewTextureSize 공개적으로 프로퍼티

public Vector2 previewTextureSize
리턴 Vector2