C# Class Food, UnderworldExporter

Inheritance: MonoBehaviour
Datei anzeigen Open project: hankmorgan/UnderworldExporter Class Usage Examples

Public Properties

Property Type Description
Nutrition int

Public Methods

Method Description
ApplyAttack ( int damage ) : bool
Eat ( ) : bool
LookAt ( ) : bool
UseVerb ( ) : string
use ( ) : bool

Private Methods

Method Description
foodFlavourText ( ) : string

The quality string of the food. Eg is it disgusting or not etc.

foodSmellText ( ) : string

How appetising the food looks and smells

Method Details

ApplyAttack() public method

public ApplyAttack ( int damage ) : bool
damage int
return bool

Eat() public method

public Eat ( ) : bool
return bool

LookAt() public method

public LookAt ( ) : bool
return bool

UseVerb() public method

public UseVerb ( ) : string
return string

use() public method

public use ( ) : bool
return bool

Property Details

Nutrition public_oe property

public int Nutrition
return int