RaylibBase constructor
RaylibBase({
- RaylibTempBaseOptions? tempOptions,
- Random? random,
Implementation
RaylibBase({
RaylibTempBaseOptions? tempOptions,
math.Random? random,
}) :
tempOptions = tempOptions ?? .new(),
random = random ?? .new()
{
if (this.tempOptions.stringCount < 4) {
throw StateError(
"Raylib expects at least 4 preallocated String slots, got ${this.tempOptions.stringCount}",
);
}
}