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.
| 1234567891011121314151617181920212223242526 |
- //
- // SA_DiceBag.h
- //
- // Copyright (c) 2016 Said Achmiz.
- //
- // This software is licensed under the MIT license.
- // See the file "LICENSE" for more information.
-
- #import <Foundation/Foundation.h>
-
- /****************************************/
- #pragma mark SA_DiceBag class declaration
- /****************************************/
-
- @interface SA_DiceBag : NSObject
-
- /****************************/
- #pragma mark - Public methods
- /****************************/
-
- - (unsigned long long)biggestPossibleDieSize;
-
- - (unsigned long long)rollDie:(unsigned long long)die;
- - (NSArray *)rollNumber:(NSNumber *)number ofDice:(unsigned long long)die;
-
- @end
|