Справочник Пользователя для Motorola C370
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
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.
associated with an image.
Class Hierarchy
The following diagram shows the Gaming API hierarchy.
ImageUtil
FileFormatNotSupported
Exception
Canvas
(from javax.microedition.lcdui)
PlayField
PaletteImage
Sprite
Image
(from javax.microedition.lcdui)
Graphics
(from javax.microedition.lcdui)
GameScreen
SoundEffect
BackGroundMusic
javax.microedition.lcdui
com.motorola.game
ImageUtil
FileFormatNotSupported
Exception
Canvas
(from javax.microedition.lcdui)
PlayField
PaletteImage
Sprite
Image
(from javax.microedition.lcdui)
Graphics
(from javax.microedition.lcdui)
GameScreen
SoundEffect
SoundEffect
BackGroundMusic
BackGroundMusic
javax.microedition.lcdui
com.motorola.game