Class TeamMessageEvent
- Object
-
- BotEvent
-
- TeamMessageEvent
-
-
Constructor Summary
Constructors Constructor Description TeamMessageEvent(int turnNumber, Object message, int senderId)Initializes a new instance of the TeamMessageEvent class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetMessage()Returns the message that was received.intgetSenderId()Returns the ID of the teammate that sent the message.-
Methods inherited from class BotEvent
getTurnNumber, isCritical
-
-
-
-
Constructor Detail
-
TeamMessageEvent
public TeamMessageEvent(int turnNumber, Object message, int senderId)Initializes a new instance of the TeamMessageEvent class.- Parameters:
turnNumber- is the turn number when the team message was received.message- is the message that was received.senderId- is the id of the teammate that sent the message.
-
-