示例#1
0
 // constructor
 public TurnQ(int turnDurat)
 {
     queue        = new List <Unit>();
     gameClock    = new Cronometer();
     timeUnit     = 0;
     turnDuration = turnDurat;
 }
示例#2
0
    public static void spawnMinions()
    {
        Printer.printLogfColor(Printer.normalLog, "Minion Spawn", ConsoleColor.Green);
        Cronometer clock = getBattle().getQueue().getGameClock();
        bool       siege = (clock.getMinute() == 0);
        bool       super = false;

        for (int i = 0; i < 3; i++)
        {
            spawnMinionsInLane(i, true, siege, super);
            spawnMinionsInLane(i, false, siege, super);
        }
    }