cz.cuni.amis.pogamut.emohawk.agent.module.sensomotoric
Class NewEmoticonEvent

Package class diagram package NewEmoticonEvent
java.lang.Object
  extended by cz.cuni.amis.pogamut.emohawk.agent.module.sensomotoric.NewEmoticonEvent
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, cz.cuni.amis.utils.listener.Event

public class NewEmoticonEvent
extends Object
implements IWorldEvent, IWorldChangeEvent

Event raised each time some player has new emoticon set! Also emoticon resets (e.g. all emoticons set to NONE) will be notified.

Author:
knight

Constructor Summary
NewEmoticonEvent(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId playerId, Emoticon emoticon, long simTime)
          Default constructor.
 
Method Summary
 Emoticon getEmoticon()
          Actual new emoticon.
 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getPlayerId()
          Id of the player that owns the emoticon.
 long getSimTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewEmoticonEvent

public NewEmoticonEvent(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId playerId,
                        Emoticon emoticon,
                        long simTime)
Default constructor.

Parameters:
playerId -
emoticon -
simTime -
Method Detail

getSimTime

public long getSimTime()
Specified by:
getSimTime in interface IWorldChangeEvent
Specified by:
getSimTime in interface IWorldEvent

getPlayerId

public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getPlayerId()
Id of the player that owns the emoticon.

Returns:

getEmoticon

public Emoticon getEmoticon()
Actual new emoticon.

Returns:


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.