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

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
AddContextMenuItem ( ActionType action, object args, Microsoft.Xna.Framework.Content.ContentManager content ) : void
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
InventoryDisplayComponent ( int locationX, int locationY, Actor currentActor ) : System
IsModal ( ) : bool
PerformDrag ( int deltaX, int deltaY ) : void
ReturnLocation ( ) : Rectangle

메소드 상세

AddContextMenuItem() 공개 메소드

public AddContextMenuItem ( ActionType action, object args, Microsoft.Xna.Framework.Content.ContentManager content ) : void
action ActionType
args object
content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

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

InventoryDisplayComponent() 공개 메소드

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

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

프로퍼티 상세

locationX 보호되어 있는 프로퍼티

protected int locationX
리턴 int

locationY 보호되어 있는 프로퍼티

protected int locationY
리턴 int