Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Attributes | List of all members
Random Class Reference

`#include <gtest-internal.h>`

## Public Member Functions
| Random (UInt32 seed)
void | Reseed (UInt32 seed)
UInt32 | Generate (UInt32 range)
| Random (UInt32 seed)
void | Reseed (UInt32 seed)
UInt32 | Generate (UInt32 range)
| Random (UInt32 seed)
void | Reseed (UInt32 seed)
UInt32 | Generate (UInt32 range)

## Static Public Attributes
static const UInt32 | kMaxRange = 1u << 31

## Constructor & Destructor Documentation

Random | ( | UInt32 | seed | ) |
| inline explicit

Random | ( | UInt32 | seed | ) |
| inline explicit

Random | ( | UInt32 | seed | ) |
| inline explicit

## Member Function Documentation

UInt32 Generate | ( | UInt32 | range | ) |

UInt32 Generate | ( | UInt32 | range | ) |

UInt32 Generate | ( | UInt32 | range | ) |

void Reseed | ( | UInt32 | seed | ) |
| inline

void Reseed | ( | UInt32 | seed | ) |
| inline

void Reseed | ( | UInt32 | seed | ) |
| inline

## Member Data Documentation

static const UInt32 kMaxRange = 1u << 31
| static

The documentation for this class was generated from the following files:

- persistence/rapidjson/thirdparty/gtest/include/gtest/internal/gtest-internal.h
- testing/googleTest/fused-src/gtest/gtest.h
- persistence/rapidjson/thirdparty/gtest/src/gtest.cc
- testing/googleTest/fused-src/gtest/gtest-all.cc