public class Emoticons extends SensomotoricModule<UT2004Bot>
act, worldViewagent, controller, eventBus, log| Constructor and Description |
|---|
Emoticons(UT2004Bot agent)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearEmoticons()
Stops displaying all emoticons.
|
EmoticonBubbleType |
getCurrentBubbleType()
Returns current bot bubble.
|
EmoticonType |
getCurrentCenterEmoticonType()
Returns current bot center emoticon.
|
Emoticon |
getCurrentEmoticon()
Returns current bot emoticon.
|
EmoticonType[] |
getCurrentEmoticonTypes()
Returns all 3 emoticons as currently displayed by you (displayed from LEFT-to-RIGHT).
|
EmoticonType |
getCurrentLeftEmoticonType()
Returns current bot left emoticon.
|
EmoticonType |
getCurrentRightEmoticonType()
Returns current bot right emoticon.
|
Emoticon |
getPlayerEmoticon(Player player)
Gets the current emoticon of input player from input Player object.
|
EmoticonInfo |
getPlayerEmoticonInfo(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId playerId)
Returns emoticon info for player of input id.
|
void |
setCenterEmoticonType(EmoticonType type)
Deprecated.
|
void |
setCenterEmoticonType(EmoticonType type,
double duration)
Deprecated.
|
void |
setCenterEmoticonType(EmoticonType centerEmoticon,
double duration,
EmoticonBubbleType bubble)
Deprecated.
|
void |
setDoubleEmoticon(EmoticonType left,
EmoticonType right)
Deprecated.
|
void |
setDoubleEmoticon(EmoticonType left,
EmoticonType right,
double duration)
Deprecated.
|
void |
setDoubleEmoticon(EmoticonType left,
EmoticonType right,
double duration,
EmoticonBubbleType bubble)
Deprecated.
|
void |
setEmoticon(Emoticon emoticon)
Sets emoticon for the bot for input duration (seconds).
|
void |
setEmoticon(Emoticon emoticon,
double duration)
Sets emoticon for the bot for input duration (seconds).
|
void |
setEmoticons(double duration,
EmoticonBubbleType bubble,
EmoticonType... emoticons)
May set multiple emoticons at once.
|
void |
setTripleEmoticon(EmoticonType left,
EmoticonType center,
EmoticonType right)
Deprecated.
|
void |
setTripleEmoticon(EmoticonType left,
EmoticonType center,
EmoticonType right,
double duration)
Deprecated.
|
void |
setTripleEmoticon(EmoticonType left,
EmoticonType center,
EmoticonType right,
double duration,
EmoticonBubbleType bubble)
Deprecated.
|
cleanUp, getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toStringpublic Emoticons(UT2004Bot agent)
agent - public EmoticonType[] getCurrentEmoticonTypes()
public Emoticon getCurrentEmoticon()
public Emoticon getPlayerEmoticon(Player player)
player - public EmoticonInfo getPlayerEmoticonInfo(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId playerId)
playerId - public void setEmoticon(Emoticon emoticon)
emoticon - public void setEmoticon(Emoticon emoticon, double duration)
emoticon - duration - public EmoticonType getCurrentLeftEmoticonType()
public EmoticonType getCurrentCenterEmoticonType()
public EmoticonType getCurrentRightEmoticonType()
public EmoticonBubbleType getCurrentBubbleType()
public void setEmoticons(double duration,
EmoticonBubbleType bubble,
EmoticonType... emoticons)
duration - in secondsbubble - emoticons - public void clearEmoticons()
@Deprecated public void setCenterEmoticonType(EmoticonType type)
setEmoticons(double, EmoticonBubbleType, EmoticonType...) instead.type - @Deprecated public void setCenterEmoticonType(EmoticonType type, double duration)
setEmoticons(double, EmoticonBubbleType, EmoticonType...) instead.type - duration - @Deprecated public void setCenterEmoticonType(EmoticonType centerEmoticon, double duration, EmoticonBubbleType bubble)
setEmoticons(double, EmoticonBubbleType, EmoticonType...) instead.centerEmoticon - duration - bubble - @Deprecated public void setDoubleEmoticon(EmoticonType left, EmoticonType right)
setEmoticons(double, EmoticonBubbleType, EmoticonType...) instead.left - right - @Deprecated public void setDoubleEmoticon(EmoticonType left, EmoticonType right, double duration)
setEmoticons(double, EmoticonBubbleType, EmoticonType...) instead.left - right - duration - @Deprecated public void setDoubleEmoticon(EmoticonType left, EmoticonType right, double duration, EmoticonBubbleType bubble)
setEmoticons(double, EmoticonBubbleType, EmoticonType...) instead.left - right - duration - bubble - @Deprecated public void setTripleEmoticon(EmoticonType left, EmoticonType center, EmoticonType right)
setEmoticons(double, EmoticonBubbleType, EmoticonType...) instead.left - center - right - @Deprecated public void setTripleEmoticon(EmoticonType left, EmoticonType center, EmoticonType right, double duration)
setEmoticons(double, EmoticonBubbleType, EmoticonType...) instead.left - center - right - duration - @Deprecated public void setTripleEmoticon(EmoticonType left, EmoticonType center, EmoticonType right, double duration, EmoticonBubbleType bubble)
setEmoticons(double, EmoticonBubbleType, EmoticonType...) instead.left - center - right - duration - bubble - Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.