C# 클래스 Descent.GUI.SubElements.EquipmentElement

Displays a single Equipment to the screen.
상속: GUIElement
파일 보기 프로젝트 열기: nezbo/Descent 1 사용 예제들

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