C# 클래스 SunsetHigh.ItemEntry

상속: MenuEntry
파일 보기 프로젝트 열기: ErraticUnicorn/MOSH 1 사용 예제들

공개 메소드들

메소드 설명
ItemEntry ( InventoryPanel owner, System.Item type ) : System
draw ( SpriteBatch sb, int x_offset, int y_offset, SpriteFont font, Color c ) : void
getDescription ( ) : string
getItemType ( ) : System.Item
getQuantityString ( ) : string
onHover ( ) : void
onPress ( ) : void
setDescription ( string description ) : void
setItemType ( System.Item itemType ) : void

메소드 상세

ItemEntry() 공개 메소드

public ItemEntry ( InventoryPanel owner, System.Item type ) : System
owner InventoryPanel
type System.Item
리턴 System

draw() 공개 메소드

public draw ( SpriteBatch sb, int x_offset, int y_offset, SpriteFont font, Color c ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
x_offset int
y_offset int
font Microsoft.Xna.Framework.Graphics.SpriteFont
c Color
리턴 void

getDescription() 공개 메소드

public getDescription ( ) : string
리턴 string

getItemType() 공개 메소드

public getItemType ( ) : System.Item
리턴 System.Item

getQuantityString() 공개 메소드

public getQuantityString ( ) : string
리턴 string

onHover() 공개 메소드

public onHover ( ) : void
리턴 void

onPress() 공개 메소드

public onPress ( ) : void
리턴 void

setDescription() 공개 메소드

public setDescription ( string description ) : void
description string
리턴 void

setItemType() 공개 메소드

public setItemType ( System.Item itemType ) : void
itemType System.Item
리턴 void