Appendix C. Siemens Game API

Game Classes

Programming with the Siemens Game API is discussed in depth in Chapter 23, “Siemens Game API.” The Siemens Game API consists of the following classes:

java.lang.Object
com.siemens.mp.game.Light
com.siemens.mp.game.MelodyComposer
com.siemens.mp.misc.NativeMem
com.siemens.mp.game.ExtendedImage
com.siemens.mp.game.GraphicObject
com.siemens.mp.game.Sprite
com.siemens.mp.game.TiledBackground
com.siemens.mp.game.GraphicObjectManager
com.siemens.mp.game.Melody
com.siemens.mp.game.Sound
com.siemens.mp.game.Vibrator

com.siemens.mp.game.Light

  • Light()

  • static void setLightOff()

  • static void setLightOn()

com.siemens.mp.game.MelodyComposer

  • MelodyComposer()

  • void appendNote(int note, int length)

  • Melody getMelody()

  • int length() ...

Get Micro Java™ Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.