Cerberus X Documentation

These are the modules Cerberus X is shipped with.

The Mojo framework

ModuleContainsAvailability
mojo.appThe base App class and functions for controlling app behaviorAndroid, iOS, Win8, Glfw, Html5, Flash
mojo.graphics2D rendering functions and the Image classAndroid, iOS, Win8, Glfw, Html5, Flash
mojo.audioSound and music playback functionsAndroid, iOS, Win8, Glfw, Html5, Flash
mojo.inputUser input functionsAndroid, iOS, Win8, Glfw, Html5, Flash
mojo.asyncloadersFunctions for loading images and sounds asynchronouslyAndroid, iOS, Win8, Glfw, Html5, Flash
mojo2Advanced 2D rendering APIGlfw, iOS, Android, Html5

Data I/O and filesystem

ModuleContainsAvailability
brl.filestreamThe FileStream class for reading and writing filesAndroid, iOS, Win8, Glfw, Stdcpp
brl.filesystemFunctions for examining and modifying the filesystemAndroid, iOS, Win8, Glfw, Stdcpp
brl.databufferThe DataBuffer class for managing binary dataAll
brl.datastreamThe DataStream class for reading and writing databuffersAll
brl.processThe Process class for executing processesGlfw, Stdcpp
brl.requestersSimple GUI requestersGlfw (Windows and MacOS only)

Networking

ModuleContainsAvailability
brl.urlThe Url class for manipulating urlsAll
brl.socketThe Socket class for low level socket accessAndroid, iOS, Win8, Glfw, Stdcpp
brl.httprequestThe HttpRequest class for making http requestsAndroid, iOS, Win8, Glfw, Stdcpp
brl.tcpstreamThe TcpStream class for synchronous tcp I/OAndroid, iOS, Win8, Glfw, Stdcpp

Math and Numeric

ModuleContainsAvailability
cerberus.mathMath functionsAll
cerberus.randomFunctions for generating random numbersAll

Text and Strings

ModuleContainsAvailability
brl.jsonThe JsonObject class for using JSON dataAll
brl.markdownThe Markdown class for generating html from simple markdownAll
brl.filepathFunctions for manipulating file pathsAll

Collections

ModuleContainsAvailability
cerberus.listThe List class for managing linked listsAll
cerberus.stackThe Stack class for managing stacks and dynamic arraysAll
cerberus.mapThe Map class for managing associative mapsAll
cerberus.setThe Set class for managing setsAll
cerberus.dequeThe Deque class for managing queuesAll
brl.poolThe Pool class for managing preallocated objectsAll

Language

ModuleContainsAvailability
cerberus.langBuilt in functions and classes including String, Array, Object and ThrowableAll
reflectionFunctions and classes for language reflectionAll

Online sevices

ModuleContainsAvailability
brl.admobThe Admob class for using Google's admob serviceAndroid, iOS
brl.cerberusstoreThe CerberusStore class for making in-app purchasesAndroid, iOS
brl.gamecenterThe GameCenter class for using Apple's Game Center serviceiOS

Miscellaneous

ModuleContainsAvailability
opengl.gles11A wrapper module for the OpenGL ES 1.1 APIAndroid, iOS, Glfw
opengl.gles20A wrapper module for the OpenGL ES 2.0 APIAndroid, iOS, Glfw, Html5