| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.emohawk.agent.module.sensomotoric |
| Modifier and Type | Method and Description |
|---|---|
static AnimType |
AnimationCharacterMapping.getAnimTypeFromString(String animStringId) |
AnimType |
Animations.getCurrentPlayedAnimation()
Returns current bot anim thas is currently being played.
|
AnimType |
Animations.getPlayerAnimation(Player player)
Returns current animation of input player.
|
static AnimType |
AnimType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnimType[] |
AnimType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
HashSet<AnimType> |
Animations.getAvailableAnimations()
Returns all available animations for our character.
|
HashSet<AnimType> |
Animations.getAvailableAnimations(CharacterType charType)
Returns all available animations for a character.
|
static HashSet<AnimType> |
AnimationCharacterMapping.getAvailableAnimations(CharacterType charType)
Returns all available animations for a character.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Animations.hasAnim(AnimType anim)
Returns true if our current character can play input animation.
|
boolean |
Animations.hasAnim(AnimType anim,
CharacterType charType)
Returns true if input character can play input animation.
|
static boolean |
AnimationCharacterMapping.hasAnim(AnimType anim,
CharacterType character)
Returns true if input animation can be played by the input character.
|
void |
Animations.playAnimation(AnimType animation)
Plays input animation on character once! Note that movement animations may override
animation played this way!
|
void |
Animations.playAnimation(AnimType animation,
boolean bLoop)
Plays input animation on character.
|
void |
Animations.playAnimationSafe(AnimType animation,
boolean bLoop)
Plays input animation on character only if the character IS NOT playing this animation
allready.
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.