private void FirePhaseEntered(Game game, IGameSequencerItem item, PacketPhaseUpdate.UpdateKind kind) { if (PhasePhaseEnteredInvoker != null) { PhasePhaseEnteredInvoker(game, item, kind); } }
protected void BroadcastTurnPhaseUpdateToPlayer(Phase p, PacketPhaseUpdate.UpdateKind type) { PacketPhaseUpdate upd = new PacketPhaseUpdate(); upd.PhaseUpdateKind = type; upd.Phase = p; Log.LogMsg("Broadcast [" + type.ToString() + "] for phase [" + upd.Phase.PhaseName + "]"); BroadcastToPlayersInGame(upd, true); }