C# Class Food, UnderworldExporter

Inheritance: MonoBehaviour
Afficher le fichier Open project: hankmorgan/UnderworldExporter Class Usage Examples

Méthodes publiques

Свойство Type Description
Nutrition int

Méthodes publiques

Méthode Description
ApplyAttack ( int damage ) : bool
Eat ( ) : bool
LookAt ( ) : bool
UseVerb ( ) : string
use ( ) : bool

Private Methods

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

public ApplyAttack ( int damage ) : bool
damage int
Résultat bool

Eat() public méthode

public Eat ( ) : bool
Résultat bool

LookAt() public méthode

public LookAt ( ) : bool
Résultat bool

UseVerb() public méthode

public UseVerb ( ) : string
Résultat string

use() public méthode

public use ( ) : bool
Résultat bool

Property Details

Nutrition public_oe property

public int Nutrition
Résultat int