An overview of OpenRPG, including how to download and use it, some basic templates, and more.
A simple header defined class to emulate a die roll
Represents a die with a max number passed at construction.
Namespace: ORPG
Assembly: none
Defined in #include "die.h"
Function | Description |
---|---|
Die(int max) | creates a die that will roll between 1 and max |
int roll() | gets a uniform random mt19937 number between 1 and max |