public abstract class AbstractPlayer extends Object implements Player
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger
The logger.
|
protected long |
randomSeed
The random seed.
|
Constructor and Description |
---|
AbstractPlayer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getRandomSeed()
Returns the current random seed, which is the last seed set by setRandomSeed() or the initial random seed if setRandomSeed() hasn't been called
before.
|
void |
setRandomSeed(long randomSeed)
Sets the random seed to use.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortPlay, getCurrentTick, getMilliBPM, play, setMilliBPM, skipToTick
configure
protected final Logger logger
protected long randomSeed
public void setRandomSeed(long randomSeed)
RandomSeedable
setRandomSeed
in interface RandomSeedable
randomSeed
- the random seedpublic long getRandomSeed()
RandomSeedable
getRandomSeed
in interface RandomSeedable