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 chr) -
Method Summary
Modifier and Type Method Description booleanisClear()booleanisEmpty()booleanisPlaying(long eventInstance)booleanisPlaying(java.lang.String alias)voidplayFootsteps(java.lang.String file)longplaySound(java.lang.String file)longplaySound(java.lang.String file, boolean doWorldSound)longplaySound(java.lang.String file, IsoObject proxy)longplaySoundImpl(java.lang.String file, IsoObject proxy)longplayVocals(java.lang.String file)voidrelease()voidset(float x, float y, float z)voidsetPos(float x, float y, float z)voidsetVolume(long handle, float volume)intstopSound(long eventInstance)voidtick()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CharacterSoundEmitter
-
-
Method Details
-
release
public void release()- Specified by:
releasein classBaseCharacterSoundEmitter
-
playVocals
public long playVocals(java.lang.String file)- Specified by:
playVocalsin classBaseCharacterSoundEmitter
-
playFootsteps
public void playFootsteps(java.lang.String file)- Specified by:
playFootstepsin classBaseCharacterSoundEmitter
-
playSound
public long playSound(java.lang.String file)- Specified by:
playSoundin interfaceICommonSoundEmitter- Specified by:
playSoundin classBaseCharacterSoundEmitter
-
playSound
public long playSound(java.lang.String file, boolean doWorldSound)- 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 x, float y, float z)- Specified by:
setPosin interfaceICommonSoundEmitter
-
set
public void set(float x, float y, float z)- 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 handle, float volume)- Specified by:
setVolumein interfaceICommonSoundEmitter- Specified by:
setVolumein classBaseCharacterSoundEmitter
-
stopSound
public int stopSound(long eventInstance)- Specified by:
stopSoundin interfaceICommonSoundEmitter- Specified by:
stopSoundin classBaseCharacterSoundEmitter
-
isPlaying
public boolean isPlaying(long eventInstance)- Specified by:
isPlayingin interfaceICommonSoundEmitter- Specified by:
isPlayingin classBaseCharacterSoundEmitter
-
isPlaying
public boolean isPlaying(java.lang.String alias)- Specified by:
isPlayingin interfaceICommonSoundEmitter- Specified by:
isPlayingin classBaseCharacterSoundEmitter
-