Ejemplo n.º 1
0
    public PendingActions(ClientHUD lsm)
    {
        this.lsm = lsm;

        CurrentActions      = new Action[lsm.numberOfPlayers];
        NextActions         = new Action[lsm.numberOfPlayers];
        NextNextActions     = new Action[lsm.numberOfPlayers];
        NextNextNextActions = new Action[lsm.numberOfPlayers];

        currentActionsCount      = 0;
        nextActionsCount         = 0;
        nextNextActionsCount     = 0;
        nextNextNextActionsCount = 0;
    }
Ejemplo n.º 2
0
    public ConfirmedActions(ClientHUD lsm)
    {
        this.lsm         = lsm;
        confirmedCurrent = new bool[lsm.numberOfPlayers];
        confirmedPrior   = new bool[lsm.numberOfPlayers];

        ResetArray(confirmedCurrent);
        ResetArray(confirmedPrior);

        confirmedCurrentCount = 0;
        confirmedPriorCount   = 0;

        currentSW = new Stopwatch();
        priorSW   = new Stopwatch();
    }