Class AnimalSoundState
java.lang.Object
zombie.characters.animals.AnimalSoundState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
long
long
getIntervalExpireTime
(String string) long
getLastPlayedTimeMS
(String string) int
boolean
boolean
boolean
void
setDesiredSoundName
(String string) void
setDesiredSoundPriority
(int int0) void
setIntervalExpireTime
(String string, long long0) boolean
long
void
stop()
-
Constructor Details
-
AnimalSoundState
-
-
Method Details
-
getAnimal
-
getEventInstance
public long getEventInstance() -
getLastPlayedTimeMS
-
getPriority
public int getPriority() -
setDesiredSoundPriority
public void setDesiredSoundPriority(int int0) -
getDesiredSoundPriority
public int getDesiredSoundPriority() -
shouldPlay
public boolean shouldPlay() -
setDesiredSoundName
-
getDesiredSoundName
-
setIntervalExpireTime
-
getIntervalExpireTime
-
start
-
stop
public void stop() -
isPlaying
public boolean isPlaying() -
isPlayingDesiredSound
public boolean isPlayingDesiredSound() -
isPlaying
-