A set of classes for parsing, evaluating, and formatting die roll strings.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

SA_DiceEvaluator.h 707B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // SA_DiceEvaluator.h
  3. //
  4. // Copyright 2016-2021 Said Achmiz.
  5. // See LICENSE and README.md for more info.
  6. #import <Foundation/Foundation.h>
  7. @class SA_DiceBag;
  8. @class SA_DiceExpression;
  9. /************************************************/
  10. #pragma mark SA_DiceEvaluator class declaration
  11. /************************************************/
  12. @interface SA_DiceEvaluator : NSObject
  13. /************************/
  14. #pragma mark - Properties
  15. /************************/
  16. @property NSUInteger maxDieCount;
  17. @property NSUInteger maxDieSize;
  18. /****************************/
  19. #pragma mark - Public methods
  20. /****************************/
  21. -(SA_DiceExpression *) resultOfExpression:(SA_DiceExpression *)expression;
  22. @end