Menu

Services

g-dollar

Game Objects (GOs) have access to a number of services in AGE, however certain services are only available at certain method calls.

You are discouraged from retaining instances to most services.

Render

This service renders the Scene registered with it via the Install Pipeline. There is no direct access to this service.

Locator

This service obtains GO references by the name. This is available during model update callbacks, e.g. timer event callback.

This indirect coupling is required, since GOs can be installed and uninstalled, a GO should always obtain the "current" version of the target GO. This also minimizes the number of Java objects holding references to other GOs, which facilitates timely Garbage Collection.

GOs can register a set of name/GO mappings via the Install Pipeline.

Resources

This service obtains application-defined resources like images, text, etc. This is available during Resource Loading.

Installer

This service provides access to the Install Pipeline to install GOs into the system.

Timer

This service registers and unregisters timers. GOs register with it via the Install Pipeline.


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.