Class PickupableBlock
Inheritance
System.Object
PickupableBlock
Assembly: Eco.Gameplay.dll
Syntax
public abstract class PickupableBlock : Block, IPickupable
Constructors
PickupableBlock()
Declaration
protected PickupableBlock()
Properties
CaloriesToPickUp
Declaration
public virtual float CaloriesToPickUp { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
Pickup(Player, InteractionTarget, Inventory, INetObject)
Declaration
public Task<bool> Pickup(Player player, InteractionTarget target, Inventory targetInv, INetObject toolUsed)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
Implements
Extension Methods