Example #1
0
 private void FirePhaseEntered(Game game, IGameSequencerItem item, PacketPhaseUpdate.UpdateKind kind)
 {
     if (PhasePhaseEnteredInvoker != null)
     {
         PhasePhaseEnteredInvoker(game, item, kind);
     }
 }
Example #2
0
        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);
        }