|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Script
The methods a plug-in must implement. Many may be implemented with empty methods.
| Method Summary | |
|---|---|
void |
init(PlayFrame pf)
Setup the script. |
boolean |
playFrameAction(java.lang.String action)
Informs the script that a PlayFrame button has been pressed and allows it to cancel
the normal action. |
java.lang.String |
toString()
Called before game start to give a selection list of possible plugins to the user. |
| Methods inherited from interface net.kolls.railworld.io.SaveLoad |
|---|
load, newInstance, save |
| Method Detail |
|---|
java.lang.String toString()
toString in interface SaveLoadtoString in class java.lang.Objectvoid init(PlayFrame pf)
pf - The PlayFrame for this gameboolean playFrameAction(java.lang.String action)
PlayFrame button has been pressed and allows it to cancel
the normal action.
action - The name of the command executed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||