A set of classes for parsing, evaluating, and formatting die roll strings.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

SA_DiceBag.h 556B

1234567891011121314151617181920212223242526
  1. //
  2. // SA_DiceBag.h
  3. // RPGBot
  4. //
  5. // Created by Sandy Achmiz on 12/30/15.
  6. //
  7. //
  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