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 boolean
hasSoundsToStart()
boolean
isClear()
boolean
isEmpty()
boolean
isPlaying(long long1)
boolean
isPlaying(java.lang.String string)
void
playFootsteps(java.lang.String string)
long
playSound(java.lang.String string)
long
playSound(java.lang.String string, boolean boolean1)
long
playSound(java.lang.String string, IsoObject object)
long
playSoundImpl(java.lang.String string, IsoObject object)
long
playVocals(java.lang.String string)
void
register()
void
set(float float1, float float2, float float3)
void
setPos(float float1, float float2, float float3)
void
setVolume(long long1, float float1)
int
stopSound(long long1)
void
tick()
void
unregister()
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:
register
in classBaseCharacterSoundEmitter
-
unregister
public void unregister()- Specified by:
unregister
in classBaseCharacterSoundEmitter
-
playVocals
public long playVocals(java.lang.String string)- Specified by:
playVocals
in classBaseCharacterSoundEmitter
-
playFootsteps
public void playFootsteps(java.lang.String string)- Specified by:
playFootsteps
in classBaseCharacterSoundEmitter
-
playSound
public long playSound(java.lang.String string)- Specified by:
playSound
in interfaceICommonSoundEmitter
- Specified by:
playSound
in classBaseCharacterSoundEmitter
-
playSound
public long playSound(java.lang.String string, boolean boolean1)- Specified by:
playSound
in interfaceICommonSoundEmitter
- Specified by:
playSound
in classBaseCharacterSoundEmitter
-
playSound
- Specified by:
playSound
in classBaseCharacterSoundEmitter
-
playSoundImpl
- Specified by:
playSoundImpl
in classBaseCharacterSoundEmitter
-
tick
public void tick()- Specified by:
tick
in interfaceICommonSoundEmitter
- Specified by:
tick
in classBaseCharacterSoundEmitter
-
setPos
public void setPos(float float1, float float2, float float3)- Specified by:
setPos
in interfaceICommonSoundEmitter
-
set
public void set(float float1, float float2, float float3)- Specified by:
set
in classBaseCharacterSoundEmitter
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceICommonSoundEmitter
-
isClear
public boolean isClear()- Specified by:
isClear
in classBaseCharacterSoundEmitter
-
setVolume
public void setVolume(long long1, float float1)- Specified by:
setVolume
in interfaceICommonSoundEmitter
- Specified by:
setVolume
in classBaseCharacterSoundEmitter
-
stopSound
public int stopSound(long long1)- Specified by:
stopSound
in interfaceICommonSoundEmitter
- Specified by:
stopSound
in classBaseCharacterSoundEmitter
-
hasSoundsToStart
public boolean hasSoundsToStart()- Specified by:
hasSoundsToStart
in classBaseCharacterSoundEmitter
-
isPlaying
public boolean isPlaying(long long1)- Specified by:
isPlaying
in interfaceICommonSoundEmitter
- Specified by:
isPlaying
in classBaseCharacterSoundEmitter
-
isPlaying
public boolean isPlaying(java.lang.String string)- Specified by:
isPlaying
in interfaceICommonSoundEmitter
- Specified by:
isPlaying
in classBaseCharacterSoundEmitter
-