Monkey Documentation

The Mojo framework

ModuleContainsAvailability
mojo.appThe base App class and functions for controlling app behaviorAndroid, iOS, Win8, Glfw, Html5, Flash, Xna, Psm
mojo.graphics2D Rendering functions and the Image classAndroid, iOS, Win8, Glfw, Html5, Flash, Xna, Psm
mojo.audioSound and music playback functionsAndroid, iOS, Win8, Glfw, Html5, Flash, Xna, Psm
mojo.inputUser input functionsAndroid, iOS, Win8, Glfw, Html5, Flash, Xna, Psm
mojo.asyncloadersFunctions for loading images and sounds asynchronouslyAndroid, iOS, Win8, Glfw, Html5, Flash, Xna, Psm

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

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
monkey.mathMath functionsAll
monkey.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
monkey.listThe List class for managing linked listsAll
monkey.stackThe Stack class for managing stacks and dynamic arraysAll
monkey.mapThe Map class for managing associative mapsAll
monkey.setThe Set class for managing setsAll
monkey.dequeThe Deque class for managing queuesAll
brl.poolThe Pool class for managing preallocated objectsAll

Language

ModuleContainsAvailability
monkey.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.monkeystoreThe MonkeyStore class for making in-app purchasesAndroid, iOS
brl.gamecenterThe GameCenter class for using Apple's Game Center serviceiOS

Misecellaneous

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