C# 클래스 Divine_Right.InterfaceComponents.Components.TradeDisplayComponent

상속: IGameInterfaceComponent
파일 보기 프로젝트 열기: Haedrian/Divine-Right 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
locationX int
locationY int

공개 메소드들

메소드 설명
Draw ( Microsoft content, Microsoft batch ) : void
HandleClick ( int x, int y, System.Objects mouseAction, DRObjects &actionType, DRObjects &internalActionType, object &args, MapItem &itm, DRObjects &coord, bool &destroy ) : bool
HandleKeyboard ( Microsoft keyboard, DRObjects &actionType, object &args, DRObjects &coord, bool &destroy ) : bool
HandleMouseOver ( int x, int y ) : void
IsModal ( ) : bool
PerformDrag ( int deltaX, int deltaY ) : void
ReturnLocation ( ) : Rectangle
TradeDisplayComponent ( int locationX, int locationY, Actor currentActor, Actor vendorActor ) : System

비공개 메소드들

메소드 설명
GetSelected ( ) : List

Gets a list of all selected inventoryitems

메소드 상세

Draw() 공개 메소드

public Draw ( Microsoft content, Microsoft batch ) : void
content Microsoft
batch Microsoft
리턴 void

HandleClick() 공개 메소드

public HandleClick ( int x, int y, System.Objects mouseAction, DRObjects &actionType, DRObjects &internalActionType, object &args, MapItem &itm, DRObjects &coord, bool &destroy ) : bool
x int
y int
mouseAction System.Objects
actionType DRObjects
internalActionType DRObjects
args object
itm DRObjects.MapItem
coord DRObjects
destroy bool
리턴 bool

HandleKeyboard() 공개 메소드

public HandleKeyboard ( Microsoft keyboard, DRObjects &actionType, object &args, DRObjects &coord, bool &destroy ) : bool
keyboard Microsoft
actionType DRObjects
args object
coord DRObjects
destroy bool
리턴 bool

HandleMouseOver() 공개 메소드

public HandleMouseOver ( int x, int y ) : void
x int
y int
리턴 void

IsModal() 공개 메소드

public IsModal ( ) : bool
리턴 bool

PerformDrag() 공개 메소드

public PerformDrag ( int deltaX, int deltaY ) : void
deltaX int
deltaY int
리턴 void

ReturnLocation() 공개 메소드

public ReturnLocation ( ) : Rectangle
리턴 Microsoft.Xna.Framework.Rectangle

TradeDisplayComponent() 공개 메소드

public TradeDisplayComponent ( int locationX, int locationY, Actor currentActor, Actor vendorActor ) : System
locationX int
locationY int
currentActor DRObjects.Actor
vendorActor DRObjects.Actor
리턴 System

프로퍼티 상세

locationX 보호되어 있는 프로퍼티

protected int locationX
리턴 int

locationY 보호되어 있는 프로퍼티

protected int locationY
리턴 int