public abstract class AbstractFbBot extends Object implements FbBotDefinition
FbBotDefinition implementation that takes care of the
FbBot handling.| Modifier and Type | Field and Description |
|---|---|
protected FbBot |
fbBot
The
FbBot object handled by this class. |
| Constructor and Description |
|---|
AbstractFbBot()
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addActionFrame(ActionFrame actionFrame)
Adds an
ActionFrame to the current bot. |
protected void |
addActionFrame(FbBotMillEvent event,
AutoReply... replies)
Adds an
ActionFrame to the current bot. |
protected void |
addActionFrame(FbBotMillEvent event,
AutoReply reply)
Adds an
ActionFrame to the current bot. |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdefineBehaviorpublic AbstractFbBot()
FbBot and registers it to the
context.protected void addActionFrame(ActionFrame actionFrame)
ActionFrame to the current bot.actionFrame - the ActionFrame to add.protected void addActionFrame(FbBotMillEvent event, AutoReply reply)
ActionFrame to the current bot.event - the FbBotMillEvent that triggers the ActionFrame.reply - the AutoReply to return when the event is triggered.protected void addActionFrame(FbBotMillEvent event, AutoReply... replies)
ActionFrame to the current bot.event - the FbBotMillEvent that triggers the ActionFrame.replies - the list of AutoReply to return when the event is
triggered.Copyright © 2017 BotMill. All rights reserved.