예제 #1
0
        public async Task RollInitiative()
        {
            TurnCount = 0;
            await InitiativeTable.RollInitiative();

            if (InitiativeTable.ActiveList.Count > 0)
            {
                ActiveCharacter = InitiativeTable.ActiveList[0];
            }
        }
예제 #2
0
 public Encounter()
 {
     InitiativeTable = new InitiativeTable();
 }
예제 #3
0
 public void AddCharacter(Character newChar)
 {
     InitiativeTable.AddCharacter(newChar);
 }