C# Class SunsetHigh.ItemEntry

Inheritance: MenuEntry
Exibir arquivo Open project: ErraticUnicorn/MOSH Class Usage Examples

Public Methods

Method Description
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

Method Details

ItemEntry() public method

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

draw() public method

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
return void

getDescription() public method

public getDescription ( ) : string
return string

getItemType() public method

public getItemType ( ) : System.Item
return System.Item

getQuantityString() public method

public getQuantityString ( ) : string
return string

onHover() public method

public onHover ( ) : void
return void

onPress() public method

public onPress ( ) : void
return void

setDescription() public method

public setDescription ( string description ) : void
description string
return void

setItemType() public method

public setItemType ( System.Item itemType ) : void
itemType System.Item
return void