public void WinOrLoss() { List <DataPacket> listOfOne = new List <DataPacket>(); if (ServerSpace.AnyPlayer() != true) { listOfOne.Add(new DataPacket(Direction.Undefined, StatusMessage.Defeat)); Messenger.SendData(listOfOne); Messenger.Dispose(); } else { if (ServerSpace.BossAlive() != true) { listOfOne.Add(new DataPacket(Direction.Undefined, StatusMessage.Victory)); Messenger.SendData(listOfOne); Messenger.Dispose(); } } }