C# 클래스 Ensage.Common.Menu.Draw.DragAndDrop

The drag and drop.
파일 보기 프로젝트 열기: EnsageSharp/Ensage.Common

공개 메소드들

메소드 설명
Add ( string name, uint customPriority, bool enabled = true ) : void

The add.

DragAndDrop ( float height, List itemList ) : System

Initializes a new instance of the DragAndDrop class.

DragAndDrop ( float height, List itemList, AbilityToggler abilityToggler ) : System

Initializes a new instance of the DragAndDrop class.

Draw ( System.Vector2 mousePosition, MenuItem menuItem ) : void

The draw.

LeftButtonDown ( System.Vector2 mousePosition ) : void

The left button down.

LeftButtonUp ( System.Vector2 mousePosition, MenuItem menuItem ) : bool

The left button up.

Remove ( string name ) : void

The remove.

UpdateItemList ( List newList, MenuItem menuItem ) : void

The update item list.

UpdateOrder ( ) : void

The update order.

비공개 메소드들

메소드 설명
CheckMovingIconPosition ( PriorityIcon icon, MenuItem menuItem, System.Vector2 mousePosition ) : void

The check moving icon position.

DrawShadow ( System.Vector2 position, System.Vector2 size ) : void

The draw shadow.

HandlePriorityIcon ( PriorityIcon icon, System.Vector2 mousePosition, uint priority, float move, MenuItem menuItem ) : void

The handle priority icon.

메소드 상세

Add() 공개 메소드

The add.
public Add ( string name, uint customPriority, bool enabled = true ) : void
name string /// The name. ///
customPriority uint /// The custom priority. ///
enabled bool /// The enabled. ///
리턴 void

DragAndDrop() 공개 메소드

Initializes a new instance of the DragAndDrop class.
public DragAndDrop ( float height, List itemList ) : System
height float /// The height. ///
itemList List /// The item list. ///
리턴 System

DragAndDrop() 공개 메소드

Initializes a new instance of the DragAndDrop class.
public DragAndDrop ( float height, List itemList, AbilityToggler abilityToggler ) : System
height float /// The height. ///
itemList List /// The item list. ///
abilityToggler AbilityToggler /// The ability toggler. ///
리턴 System

Draw() 공개 메소드

The draw.
public Draw ( System.Vector2 mousePosition, MenuItem menuItem ) : void
mousePosition System.Vector2 /// The mouse position. ///
menuItem MenuItem /// The menu Item. ///
리턴 void

LeftButtonDown() 공개 메소드

The left button down.
public LeftButtonDown ( System.Vector2 mousePosition ) : void
mousePosition System.Vector2 /// The mouse Position. ///
리턴 void

LeftButtonUp() 공개 메소드

The left button up.
public LeftButtonUp ( System.Vector2 mousePosition, MenuItem menuItem ) : bool
mousePosition System.Vector2 /// The mouse Position. ///
menuItem MenuItem /// The menu Item. ///
리턴 bool

Remove() 공개 메소드

The remove.
public Remove ( string name ) : void
name string /// The name. ///
리턴 void

UpdateItemList() 공개 메소드

The update item list.
public UpdateItemList ( List newList, MenuItem menuItem ) : void
newList List /// The new list. ///
menuItem MenuItem /// The menu Item. ///
리턴 void

UpdateOrder() 공개 메소드

The update order.
public UpdateOrder ( ) : void
리턴 void