|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
With this libray, you'll be able to write your own robot very quickly and easily. With simple inheritance, and overloading of self-explanatory methods, you will be able to concentrate on the logic of your robot, not it's bowels. In itself, that will save you some debugging time :) Make a simple robot as simple as this import org.wadael.waverobotfrmwrk.simple.BlipModifierRobot;
/**
* Example robot that adds RTFM!! after each question mark.
* It assumes there is a manual for the conversation's themes.
*
* @author jerome baton : Wadael, http://blog.wadael.org
*/
@SuppressWarnings("serial")
public class RTFMRobotServlet extends BlipModifierRobot {
@Override
protected String modifyBlipText(String actualText) {
if(actualText.indexOf("?") == -1) return actualText;
else {
return actualText.replaceAll("?", "? (RTFM!!") ;
}
}
}
A tutorial has been written by Romin K. IRANI of gaejexperiments fame
But please do not forget to browse the wiki, where you should find all the information you need. More info in the Description page There is several ways to use this framework, in ASCending effort order
The advised usage is to get the project from SVN. and to use the generator. If you only donwload the JAR, then you will not get the generator.
Latest newsSeptember 2010 August 2010
|