Package | Description |
---|---|
cell2d |
Modifier and Type | Field and Description |
---|---|
static Music |
Music.BLANK
A blank Music track that produces no sound and plays indefinitely.
|
Modifier and Type | Method and Description |
---|---|
Music |
CellGame.getCurrentMusic()
Returns the Music track that this CellGame is currently playing, or null
if there is none.
|
Music |
CellGame.getMusic(int priority)
Returns the Music track in this CellGame's music stack at the specified
priority, or null if there is none.
|
static Music |
Assets.getMusic(java.lang.String name)
Returns the Music track in the list of Music tracks under the specified
name, or null if there is none.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Assets.add(java.lang.String name,
Music music)
Adds the specified Music track to the list of Music tracks under the
specified name.
|
void |
CellGame.loopMusic(int priority,
Music music)
Loops the specified Music track indefinitely in this CellGame's music
stack at the specified priority.
|
void |
CellGame.loopMusic(int priority,
Music music,
double pitch,
double volume)
Loops the specified Music track indefinitely in this CellGame's music
stack at the specified priority, pitch, and volume.
|
void |
CellGame.loopMusic(Music music)
Loops the specified Music track indefinitely.
|
void |
CellGame.loopMusic(Music music,
double pitch,
double volume)
Loops the specified Music track indefinitely at the specified pitch and
volume.
|
void |
CellGame.playMusic(int priority,
Music music)
Plays the specified Music track once in this CellGame's music stack at
the specified priority.
|
void |
CellGame.playMusic(int priority,
Music music,
double pitch,
double volume)
Plays the specified Music track once in this CellGame's music stack at
the specified priority, pitch, and volume.
|
void |
CellGame.playMusic(Music music)
Plays the specified Music track once.
|
void |
CellGame.playMusic(Music music,
double pitch,
double volume)
Plays the specified Music track once at the specified pitch and volume.
|
void |
CellGame.stopMusic(int priority,
Music music)
Stops the specified Music track in this CellGame's music stack at the
specified priority if it is currently playing there.
|
void |
CellGame.stopMusic(Music music)
Stops the specified Music track if this CellGame is currently playing it.
|