Class RubbleObject<TItemType>
Inheritance
System.Object
RubbleObject<TItemType>
Assembly: Eco.Gameplay.dll
Syntax
public abstract class RubbleObject<TItemType> : RubbleObject, INetObjectPosition, IPositionAndBounds, IFreezable, INetObject, IEcoObject, IPickupable, IHasInteractions, IRepresentsItem where TItemType : Item
Type Parameters
Name |
Description |
TItemType |
|
Constructors
RubbleObject()
Declaration
Properties
RepresentedItemType
Declaration
public Type RepresentedItemType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
Pickup(Player, InteractionTarget, Inventory, INetObject)
Declaration
public override Task<bool> Pickup(Player player, InteractionTarget target, Inventory targetInv, INetObject toolUsed)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
Overrides
Implements
Extension Methods