Interface IEquippable<T>
Interface for objects that can be equipped and unequipped by an owner of type T. Implement this to allow items or entities to be equipped by a character or other owner.
public interface IEquippable<T>
Type Parameters
TThe type of the owner that can equip this object.
Methods
Equip(T)
Equips the object to the specified owner.
void Equip(T owner)
Parameters
ownerTThe entity or character equipping this object.
Unequip()
Unequips the object from its current owner.
void Unequip()