public void DropItem() { if (is_carrying == true) { is_carrying = false; heldItem.DropPiece (); heldItem = null; } }
public void ReturnItem() { if (is_carrying == true) { is_carrying = false; heldItem.DropPiece (); heldItem.CapturePiece(); heldItem = null; } }
public void PickupItem(item_pickup item) { is_carrying = true; heldItem = item; }