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

For letting the user choose what item he wishes to throw
상속: IGameInterfaceComponent
파일 보기 프로젝트 열기: Haedrian/Divine-Right 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( Microsoft content, Microsoft batch ) : void
HandleClick ( int x, int y, System.Objects mouseAction, DRObjects &actionType, DRObjects &internalActionType, object &args, DRObjects &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
PerformDrag ( int deltaX, int deltaY ) : void
ReturnLocation ( ) : Rectangle
ThrowItemComponent ( int x, int y, MapCoordinate targetCoordinate, Actor actor ) : System

메소드 상세

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

ThrowItemComponent() 공개 메소드

public ThrowItemComponent ( int x, int y, MapCoordinate targetCoordinate, Actor actor ) : System
x int
y int
targetCoordinate MapCoordinate
actor DRObjects.Actor
리턴 System