protected void Digging() { if (Channeling(ItemList.Shovel, PlayerActions.Dig) == PlayerActions.Dig) { Shovel s = (Shovel)(this.GetPlayerData().GetInventory()[Global.ItemNames[ItemList.Shovel]]); s.Dig(this.GetPlayerData(), this); } }
private void Dig() { StartCoroutine(shovel.Dig()); }