C# Класс Divine_Right.InterfaceComponents.Components.TradeDisplayComponent

Наследование: IGameInterfaceComponent
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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