Gaming Api - Motorola MOTORAZR maxx V6 Developer's Manual

Java me developer guide
Hide thumbs Also See for MOTORAZR maxx V6:
Table of Contents

Advertisement

Java ME Developer Guide
Chapter 21 - Gaming API/Multiple Key Press
21
Gaming API/Multiple
Key Press

21.1 Gaming API

The Gaming API provides a series of classes that enable rich gaming content for the
handset. This API improves performance by minimizing the amount of work done in
Java, decreasing application size. The Gaming API is structured to provide freedom in
implementation, extensively using native code, hardware acceleration, and device-
specific image data formats as needed.
The API uses standard low-level graphic classes from MIDP so the high-level Gaming
API classes can be used in conjunction with graphics primitives. This allows for ren-
dering a complex background using the Gaming API while rendering something on
top of it using graphics primitives.
Methods that modify the state of Layer, LayerManager, Sprite, and TiledLayer objects
generally do not have any immediate visible side effects. Instead, this state is stored
within the object and is used during subsequent calls to the
method. This
approach is suitable for gaming applications where there is a cycle within the objects'
states being updated and the entire screen is redrawn at the end of every game
cycle.
DRAFT - Subject to Change
[148/201]

Advertisement

Table of Contents
loading

Table of Contents