|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dimx.CustCmdProcessor
public class CustCmdProcessor
An implementation of a custom command processor for the DimensioneX Game Engine. The developer can use or subclass as needed. The custom processor should be defined as a WORLD attribute within the MyWorld.DXW file. Example:
WORLD
...
custCmdProc org.dimx.CustCmdProcessor
...
OTHER_TAGS
END_OTHER_TAGS
END_WORLD
| Constructor Summary | |
|---|---|
CustCmdProcessor()
|
|
| Method Summary | |
|---|---|
boolean |
processPostWorldInit(multiplayer server,
WorldLoader loader,
World world,
java.lang.String systemDir)
Sample custom processor simply logs debug messages and returns 'true' to allow normal world.init to finalize. |
boolean |
processPreWorldInit(multiplayer server,
WorldLoader loader,
World world,
java.lang.String systemDir)
Sample custom processor simply logs a debug message and returns 'true' to allow normal world.init to occur. |
java.util.Vector |
processSay(multiplayer server,
World world,
java.lang.String cmd,
java.lang.String arg1,
java.lang.String arg2,
Player player)
Display ALL player SAY messages and chat in the Message panel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustCmdProcessor()
| Method Detail |
|---|
public java.util.Vector processSay(multiplayer server,
World world,
java.lang.String cmd,
java.lang.String arg1,
java.lang.String arg2,
Player player)
processSay in interface ISayProcessorserver - world - cmd - arg1 - arg2 - player -
public boolean processPreWorldInit(multiplayer server,
WorldLoader loader,
World world,
java.lang.String systemDir)
processPreWorldInit in interface IWorldInitProcessorserver - loader - world - systemDir -
public boolean processPostWorldInit(multiplayer server,
WorldLoader loader,
World world,
java.lang.String systemDir)
processPostWorldInit in interface IWorldInitProcessorserver - loader - world - systemDir -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||