TinyLifeExampleMod/Api/TinyLife/Objects/Food.md

1.7 KiB

Food

Namespace: TinyLife > Objects

Assembly: Tiny Life.dll

Implements IGenericDataHolder, IPricedObject

Constructors

Name Summary
Food ( Guid, FurnitureType, Int32[], Map, Vector2 )

Fields

Type Name Summary
Single FoodLeft The amount of food that this food item has left. This is set to TinyLife.Skills.FoodType.FoodAmount by default
Quality Quality The TinyLife.Objects.Food.Quality of this food item, defaults to TinyLife.Skills.Quality.Average. Note that, by default, this property only differs if TinyLife.Objects.FoodTypedItem.Creator is set.

Methods

Return Name Summary
void Draw ( GameTime, SpriteBatch, Vector2, Vector2, Nullable<Color>, Direction2, Int32[], Single, Boolean, Furniture, ObjectSpot, Single, Boolean )
Tooltip GetHoverInfo ( )