|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levelonelabs.aimbot.BotModule com.levelonelabs.aimbot.modules.TicTacToeModule
Allows someone to play Tic Tac Toe against the computer or competitior. This is to demonstrate how state can be saved for a game or other type of module. Thanks to Niel Eyde for the idea.
Field Summary |
Fields inherited from class com.levelonelabs.aimbot.BotModule |
bot |
Constructor Summary | |
TicTacToeModule(AIMBot bot)
Constructor for the TicTacToeModule object |
Method Summary | |
java.lang.String |
getName()
Gets the name attribute of the Tic Tack Toe Module object |
java.util.ArrayList |
getServices()
Gets the services attribute of the PreferenceModule object |
java.lang.String |
help()
Describes the usage of the module |
void |
performService(AIMBuddy buddy,
java.lang.String query)
Handle a tic tac toe query |
void |
sendMessageUnlessRobot(AIMBuddy buddy,
java.lang.String message)
sends a message unless it is to the computer |
Methods inherited from class com.levelonelabs.aimbot.BotModule |
addAIMListener, addBuddies, addBuddy, denyBuddy, getBuddy, getBuddyNames, getPermitMode, permitBuddy, removeBuddies, removeBuddy, sendMessage, sendWarning, setAvailable, setPermitMode, setUnavailable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TicTacToeModule(AIMBot bot)
bot
- Method Detail |
public java.util.ArrayList getServices()
getServices
in class BotModule
public java.lang.String getName()
getName
in class BotModule
public java.lang.String help()
help
in class BotModule
public void sendMessageUnlessRobot(AIMBuddy buddy, java.lang.String message)
buddy
- buddy to send message tomessage
- message to sendpublic void performService(AIMBuddy buddy, java.lang.String query)
performService
in class BotModule
buddy
- query
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |