public PendingActions(LockStepManager lsm) { this.lsm = lsm; CurrentActions = new IAction[lsm.numberOfPlayers]; NextActions = new IAction[lsm.numberOfPlayers]; NextNextActions = new IAction[lsm.numberOfPlayers]; NextNextNextActions = new IAction[lsm.numberOfPlayers]; currentActionsCount = 0; nextActionsCount = 0; nextNextActionsCount = 0; nextNextNextActionsCount = 0; }
public ConfirmedActions(LockStepManager lsm) { this.lsm = lsm; playersConfirmedCurrentAction = new List <NetworkPlayer> (lsm.numberOfPlayers); playersConfirmedPriorAction = new List <NetworkPlayer> (lsm.numberOfPlayers); }