|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT> cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule<UT2004Bot> cz.cuni.amis.pogamut.emohawk.agent.module.sensomotoric.Emoticons
public class Emoticons
Wraps emoticon control.
Field Summary |
---|
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule |
---|
act, worldView |
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule |
---|
agent, controller, eventBus, log |
Constructor Summary | |
---|---|
Emoticons(UT2004Bot agent)
Default constructor. |
Method Summary | |
---|---|
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). 0 emoticons displayed: returns [] 1 emoticon displayed: returns [CENTER] 2 emoticons displayed: returns [LEFT, RIGHT] 3 emoticons displayed: returns [LEFT, CENTER, 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. |
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule |
---|
cleanUp, getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Emoticons(UT2004Bot agent)
agent
- Method Detail |
---|
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |