hunger

fun hunger(points: Int): FoodItem

Sets the number of hunger points the food item restores.

Return

The FoodItem instance for method chaining.

Parameters

points

The number of hunger points.