public final class SoundAction
extends Object
Defines an action which produces a sound.
-
-
Constructor Summary
Constructors
-
Method Summary
Gets or creates a new SoundAction
for the given name.
Returns the name of the action.
-
-
Constructor Details
-
SoundAction
private SoundAction(String name)
-
Method Details
-
get
Gets or creates a new SoundAction
for the given name.
- Parameters:
name
- the name of the action
- Returns:
- the existing
SoundAction
, or a new one if not present
-
name
Returns the name of the action.
- Returns:
- the name of the action
-