C# Класс Descent.GUI.SubElements.EquipmentElement

Displays a single Equipment to the screen.
Наследование: GUIElement
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetBGString string
PopulateItem void

Открытые методы

Метод Описание
EquipmentElement ( Microsoft.Xna.Framework.Game game, int posX, int posY, int width, int height, string slotTitle, Equipment eq, int id ) : System.Collections.Generic

Creates a new Equipment element to display the given Equipment at the given position.

HandleClick ( int x, int y ) : bool

Приватные методы

Метод Описание
GetBGString ( ) : string
PopulateItem ( ) : void

Описание методов

EquipmentElement() публичный Метод

Creates a new Equipment element to display the given Equipment at the given position.
public EquipmentElement ( Microsoft.Xna.Framework.Game game, int posX, int posY, int width, int height, string slotTitle, Equipment eq, int id ) : System.Collections.Generic
game Microsoft.Xna.Framework.Game The current Game object.
posX int The top-left x-coordinate of this element.
posY int The top-left y-coordinate of this element.
width int The width of this element.
height int The height of this element.
slotTitle string The title of this slot, in case the Equipment isn't there (null).
eq Descent.Model.Player.Figure.HeroStuff.Equipment The Equipment to visualize.
id int The Id of the given Equipment.
Результат System.Collections.Generic

HandleClick() публичный Метод

public HandleClick ( int x, int y ) : bool
x int
y int
Результат bool