Package zombie.characters
Class CharacterSoundEmitter
java.lang.Object
zombie.characters.BaseCharacterSoundEmitter
zombie.characters.CharacterSoundEmitter
- All Implemented Interfaces:
ICommonSoundEmitter
public class CharacterSoundEmitter extends BaseCharacterSoundEmitter implements ICommonSoundEmitter
-
Field Summary
Fields inherited from class zombie.characters.BaseCharacterSoundEmitter
character -
Constructor Summary
Constructors Constructor Description CharacterSoundEmitter(IsoGameCharacter gameCharacter) -
Method Summary
Modifier and Type Method Description booleanhasSoundsToStart()booleanisClear()booleanisEmpty()booleanisPlaying(long long1)booleanisPlaying(java.lang.String string)voidplayFootsteps(java.lang.String string)longplaySound(java.lang.String string)longplaySound(java.lang.String string, boolean boolean1)longplaySound(java.lang.String string, IsoObject object)longplaySoundImpl(java.lang.String string, IsoObject object)longplayVocals(java.lang.String string)voidregister()voidset(float float1, float float2, float float3)voidsetPos(float float1, float float2, float float3)voidsetVolume(long long1, float float1)intstopSound(long long1)voidtick()voidunregister()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CharacterSoundEmitter
-
-
Method Details
-
register
public void register()- Specified by:
registerin classBaseCharacterSoundEmitter
-
unregister
public void unregister()- Specified by:
unregisterin classBaseCharacterSoundEmitter
-
playVocals
public long playVocals(java.lang.String string)- Specified by:
playVocalsin classBaseCharacterSoundEmitter
-
playFootsteps
public void playFootsteps(java.lang.String string)- Specified by:
playFootstepsin classBaseCharacterSoundEmitter
-
playSound
public long playSound(java.lang.String string)- Specified by:
playSoundin interfaceICommonSoundEmitter- Specified by:
playSoundin classBaseCharacterSoundEmitter
-
playSound
public long playSound(java.lang.String string, boolean boolean1)- Specified by:
playSoundin interfaceICommonSoundEmitter- Specified by:
playSoundin classBaseCharacterSoundEmitter
-
playSound
- Specified by:
playSoundin classBaseCharacterSoundEmitter
-
playSoundImpl
- Specified by:
playSoundImplin classBaseCharacterSoundEmitter
-
tick
public void tick()- Specified by:
tickin interfaceICommonSoundEmitter- Specified by:
tickin classBaseCharacterSoundEmitter
-
setPos
public void setPos(float float1, float float2, float float3)- Specified by:
setPosin interfaceICommonSoundEmitter
-
set
public void set(float float1, float float2, float float3)- Specified by:
setin classBaseCharacterSoundEmitter
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceICommonSoundEmitter
-
isClear
public boolean isClear()- Specified by:
isClearin classBaseCharacterSoundEmitter
-
setVolume
public void setVolume(long long1, float float1)- Specified by:
setVolumein interfaceICommonSoundEmitter- Specified by:
setVolumein classBaseCharacterSoundEmitter
-
stopSound
public int stopSound(long long1)- Specified by:
stopSoundin interfaceICommonSoundEmitter- Specified by:
stopSoundin classBaseCharacterSoundEmitter
-
hasSoundsToStart
public boolean hasSoundsToStart()- Specified by:
hasSoundsToStartin classBaseCharacterSoundEmitter
-
isPlaying
public boolean isPlaying(long long1)- Specified by:
isPlayingin interfaceICommonSoundEmitter- Specified by:
isPlayingin classBaseCharacterSoundEmitter
-
isPlaying
public boolean isPlaying(java.lang.String string)- Specified by:
isPlayingin interfaceICommonSoundEmitter- Specified by:
isPlayingin classBaseCharacterSoundEmitter
-