C# Class SunsetHigh.ItemEntry

Inheritance: MenuEntry
Afficher le fichier Open project: ErraticUnicorn/MOSH Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ItemEntry ( InventoryPanel owner, System.Item type ) : System
owner InventoryPanel
type System.Item
Résultat System

draw() public méthode

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
Résultat void

getDescription() public méthode

public getDescription ( ) : string
Résultat string

getItemType() public méthode

public getItemType ( ) : System.Item
Résultat System.Item

getQuantityString() public méthode

public getQuantityString ( ) : string
Résultat string

onHover() public méthode

public onHover ( ) : void
Résultat void

onPress() public méthode

public onPress ( ) : void
Résultat void

setDescription() public méthode

public setDescription ( string description ) : void
description string
Résultat void

setItemType() public méthode

public setItemType ( System.Item itemType ) : void
itemType System.Item
Résultat void