C# Class Divine_Right.InterfaceComponents.Components.TradeDisplayComponent

Inheritance: IGameInterfaceComponent
Afficher le fichier Open project: Haedrian/Divine-Right Class Usage Examples

Protected Properties

Свойство Type Description
locationX int
locationY int

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetSelected ( ) : List

Gets a list of all selected inventoryitems

Method Details

Draw() public méthode

public Draw ( Microsoft content, Microsoft batch ) : void
content Microsoft
batch Microsoft
Résultat void

HandleClick() public méthode

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
Résultat bool

HandleKeyboard() public méthode

public HandleKeyboard ( Microsoft keyboard, DRObjects &actionType, object &args, DRObjects &coord, bool &destroy ) : bool
keyboard Microsoft
actionType DRObjects
args object
coord DRObjects
destroy bool
Résultat bool

HandleMouseOver() public méthode

public HandleMouseOver ( int x, int y ) : void
x int
y int
Résultat void

IsModal() public méthode

public IsModal ( ) : bool
Résultat bool

PerformDrag() public méthode

public PerformDrag ( int deltaX, int deltaY ) : void
deltaX int
deltaY int
Résultat void

ReturnLocation() public méthode

public ReturnLocation ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle

TradeDisplayComponent() public méthode

public TradeDisplayComponent ( int locationX, int locationY, Actor currentActor, Actor vendorActor ) : System
locationX int
locationY int
currentActor DRObjects.Actor
vendorActor DRObjects.Actor
Résultat System

Property Details

locationX protected_oe property

protected int locationX
Résultat int

locationY protected_oe property

protected int locationY
Résultat int