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_DiceBag.h 636B

1234567891011121314151617181920212223242526
  1. //
  2. // SA_DiceBag.h
  3. //
  4. // Copyright (c) 2016 Said Achmiz.
  5. //
  6. // This software is licensed under the MIT license.
  7. // See the file "LICENSE" for more information.
  8. #import <Foundation/Foundation.h>
  9. /****************************************/
  10. #pragma mark SA_DiceBag class declaration
  11. /****************************************/
  12. @interface SA_DiceBag : NSObject
  13. /****************************/
  14. #pragma mark - Public methods
  15. /****************************/
  16. - (unsigned long long)biggestPossibleDieSize;
  17. - (unsigned long long)rollDie:(unsigned long long)die;
  18. - (NSArray *)rollNumber:(NSNumber *)number ofDice:(unsigned long long)die;
  19. @end