public AddToInventory ( IPickableGameActor item ) : bool | ||
item | IPickableGameActor | |
return | bool |
public bool AddToInventory(IPickableGameActor item)
{
if (Tool != null)
return false;
Tool = item;
return true;
}