public void SwitchBlobType() { BlobManager.AddBlobsToReserve(BlobManager.GetBlobsInFieldCount(), currentBlobType); BlobManager.CallAllBlobsToTube(tube); player.SendAllBlobsToTube(tube); currentBlobType = (BlobType)(((int)currentBlobType + 1) % Enum.GetNames(typeof(BlobType)).Length); player.CurrentBlobType = currentBlobType; UpdateButtons(); }
public override void OnSuckedIntoTube() { BlobManager.AddBlobsToReserve(amount, type); base.OnSuckedIntoTube(); }
public void RemoveBlob() { player.SendBlobToTube(tube); BlobManager.AddBlobsToReserve(1, currentBlobType); UpdateButtons(); }