public final class WaveTypeRegistry extends Object
WaveType
.Modifier and Type | Field and Description |
---|---|
static AtomicInteger |
idGenerator
The generator of unique id.
|
static Map<String,WaveType> |
waveTypeMap
Map that store WaveType used according to their unique identifier.
|
Modifier and Type | Method and Description |
---|---|
static int |
getNextUid()
Return the next free unique identifier.
|
static WaveType |
getWaveType(String action)
Retrieve a WaveType according to its unique action name.
|
static void |
store(String action,
WaveType waveType)
Store a
WaveType by its action name. |
public static final AtomicInteger idGenerator
public static final Map<String,WaveType> waveTypeMap
public static int getNextUid()
public static WaveType getWaveType(String action)
WaveType
has not been initialized yet.action
- the unique action name used to register the WaveTypeCopyright © 2011–2016 JRebirth OSS. All rights reserved.