Пример #1
0
        public void AddParticipant(Planet participant, PlanetTurn turn, int scheduledTurn)
        {
            AttackPlanParticipant order = new AttackPlanParticipant();

            order.Source        = participant;
            order.AttackersTurn = turn;
            order.ScheduledTurn = scheduledTurn;
            Participants.Add(order);
        }
Пример #2
0
        public void AddParticipant(Planet participant, PlanetTurn turn, PlanetTurn defendersTurn)
        {
            AttackPlanParticipant order = new AttackPlanParticipant();

            order.Source        = participant;
            order.AttackersTurn = turn;
            order.ScheduledTurn = turn.TurnsFromNow;
            order.DefendersTurn = defendersTurn;
            Participants.Add(order);
        }