org.lee.mugen.core.command
Class CmdProcDispatcher
java.lang.Object
org.lee.mugen.core.command.CmdProcDispatcher
public class CmdProcDispatcher
- extends java.lang.Object
A Command dispatcher to sprite(s) that it hold
TODO : the static bloc is tempory and when configuration is done,
insert keys controlers has to be done by a method
- Author:
- Dr Wong
Constructor Summary |
CmdProcDispatcher(int up,
int down,
int back,
int forward,
int a,
int b,
int c,
int x,
int y,
int z,
int abc,
int xyz)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spriteDispatcherMap
public static java.util.Map<java.lang.String,CmdProcDispatcher> spriteDispatcherMap
bufferTime
public static final int bufferTime
- See Also:
- Constant Field Values
diseable
public boolean diseable
CmdProcDispatcher
public CmdProcDispatcher(int up,
int down,
int back,
int forward,
int a,
int b,
int c,
int x,
int y,
int z,
int abc,
int xyz)
process
public void process()
setKey
public void setKey(int keyCode,
Key key)
press
public boolean press(int keyCode,
long tick,
boolean isFlip)
flushBufferCmd
public void flushBufferCmd()
release
public boolean release(int keyCode,
long tick,
boolean isFlip)
getSequence
public SingleCmdProcessor[] getSequence(long time)
invert
public void invert()
getKeys
public int[] getKeys()