C# 클래스 XNAInterfaceComponents.Managers.ComponentManager

상속: Drawable, MouseClickListener, MouseMotionListener
파일 보기 프로젝트 열기: Wotuu/RTS_XNA_v2 1 사용 예제들

공개 메소드들

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

Draws all panels

GetInstance ( ) : ComponentManager
OnMouseClick ( MouseEvent m_event ) : void
OnMouseDrag ( MouseEvent e ) : void
OnMouseMotion ( MouseEvent e ) : void
OnMouseRelease ( MouseEvent m_event ) : void
QueueLoad ( ParentComponent component ) : void

Queues the element for loading by the mananger.

QueueUnload ( ParentComponent component ) : void

Queues the element for unloading by the manager.

SortComponentsByZ ( LinkedList toSort, System.Boolean asc ) : LinkedList

Sorts a linked list of components by their Z value.

SortComponentsByZ ( LinkedList toSort, System.Boolean asc ) : LinkedList

Sorts a linked list of components by their Z value.

UnloadAllPanels ( ) : void

Unloads all panels.

Update ( ) : void

Updates all the panels.

비공개 메소드들

메소드 설명
ComponentManager ( ) : System
FireMouseExitEvents ( MouseEvent e ) : void

Fire mouse exit events on those that currently have mouse over.

메소드 상세

Draw() 공개 메소드

Draws all panels
public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch The spritebatch to draw on.
리턴 void

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : ComponentManager
리턴 ComponentManager

OnMouseClick() 공개 메소드

public OnMouseClick ( MouseEvent m_event ) : void
m_event MouseEvent
리턴 void

OnMouseDrag() 공개 메소드

public OnMouseDrag ( MouseEvent e ) : void
e MouseEvent
리턴 void

OnMouseMotion() 공개 메소드

public OnMouseMotion ( MouseEvent e ) : void
e MouseEvent
리턴 void

OnMouseRelease() 공개 메소드

public OnMouseRelease ( MouseEvent m_event ) : void
m_event MouseEvent
리턴 void

QueueLoad() 공개 메소드

Queues the element for loading by the mananger.
public QueueLoad ( ParentComponent component ) : void
component XNAInterfaceComponents.AbstractComponents.ParentComponent The component to load.
리턴 void

QueueUnload() 공개 메소드

Queues the element for unloading by the manager.
public QueueUnload ( ParentComponent component ) : void
component XNAInterfaceComponents.AbstractComponents.ParentComponent The component to unload
리턴 void

SortComponentsByZ() 공개 메소드

Sorts a linked list of components by their Z value.
public SortComponentsByZ ( LinkedList toSort, System.Boolean asc ) : LinkedList
toSort LinkedList The list to sort.
asc System.Boolean
리턴 LinkedList

SortComponentsByZ() 공개 메소드

Sorts a linked list of components by their Z value.
public SortComponentsByZ ( LinkedList toSort, System.Boolean asc ) : LinkedList
toSort LinkedList The list to sort.
asc System.Boolean
리턴 LinkedList

UnloadAllPanels() 공개 메소드

Unloads all panels.
public UnloadAllPanels ( ) : void
리턴 void

Update() 공개 메소드

Updates all the panels.
public Update ( ) : void
리턴 void