Motorola C370, C550, C450 Gaming API and Sound, Functional Description, Class Hierarchy

Models: C450 C550 C370

1 86
Download 86 pages 61.66 Kb
Page 38
Image 38

8 Gaming API and Sound

Functional Description

The Gaming API provides gaming related functionality to J2ME MIDlet writers. This functionality includes the ability and support for transparent images, the ability to play simple sounds and sound effects during a game, the ability to detect simultaneous key presses, support for sprites, and support for dynamically changing the palette color associated with an image.

Class Hierarchy

The following diagram shows the Gaming API hierarchy.

javax.microedition.lcdui

Graphics

(from javax.microedition.lcdui)

Canvas

(from javax.microedition.lcdui)

Image

(from javax.microedition.lcdui)

com.motorola.game

 

GameScreen

SoundEffect

ImageUtil

BackGroundMusic

PaletteImage

FileFormatNotSupported

 

Exception

PlayField

 

Sprite

 

Page 38
Image 38
Motorola C370, C550, C450 technical manual Gaming API and Sound, Functional Description, Class Hierarchy