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

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

공개 메소드들

메소드 설명
Draw ( Microsoft content, Microsoft batch ) : void
HandleClick ( int x, int y, System.Objects mouseAction, DRObjects &actionType, InternalActionEnum &internalActionType, object &args, MapItem &item, 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
LocationDetailsComponent ( Settlement settlement, int x, int y ) : System
PerformDrag ( int deltaX, int deltaY ) : void
ReturnLocation ( ) : Rectangle

메소드 상세

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, InternalActionEnum &internalActionType, object &args, MapItem &item, DRObjects &coord, bool &destroy ) : bool
x int
y int
mouseAction System.Objects
actionType DRObjects
internalActionType InternalActionEnum
args object
item 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

LocationDetailsComponent() 공개 메소드

public LocationDetailsComponent ( Settlement settlement, int x, int y ) : System
settlement DRObjects.Items.Archetypes.Global.Settlement
x int
y int
리턴 System

PerformDrag() 공개 메소드

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

ReturnLocation() 공개 메소드

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