org.lee.mugen.core.command
Class MugenCommands

java.lang.Object
  extended by org.lee.mugen.core.command.MugenCommands

public class MugenCommands
extends java.lang.Object

MugenCommands describes the sequence in *.cmd

Author:
Dr Wong

Constructor Summary
MugenCommands(MugenSingleCmd[] cmds, java.lang.String cmdName)
           
MugenCommands(MugenSingleCmd[] cmds, java.lang.String cmdName, int time, int bufferTime)
           
 
Method Summary
 void addBufferTime(int i)
           
 boolean find(AbstractCommand last, AbstractCommand current, int pos, MugenSingleCmd[] cmds)
           
 boolean find(CmdProcDispatcher cpd, long gameTime, boolean isFlip)
           
 long getBufferTime()
           
 MugenSingleCmd[] getCmds()
           
 java.lang.String getCommandName()
           
 long getTime()
           
 void setBufferTime(long bufferTime)
           
 void setCmds(MugenSingleCmd[] cmds)
           
 void setCommandName(java.lang.String commandName)
           
 void setTime(long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MugenCommands

public MugenCommands(MugenSingleCmd[] cmds,
                     java.lang.String cmdName)

MugenCommands

public MugenCommands(MugenSingleCmd[] cmds,
                     java.lang.String cmdName,
                     int time,
                     int bufferTime)
Method Detail

find

public boolean find(CmdProcDispatcher cpd,
                    long gameTime,
                    boolean isFlip)

find

public boolean find(AbstractCommand last,
                    AbstractCommand current,
                    int pos,
                    MugenSingleCmd[] cmds)

getBufferTime

public long getBufferTime()

setBufferTime

public void setBufferTime(long bufferTime)

getCmds

public MugenSingleCmd[] getCmds()

setCmds

public void setCmds(MugenSingleCmd[] cmds)

getTime

public long getTime()

setTime

public void setTime(long time)

getCommandName

public java.lang.String getCommandName()

setCommandName

public void setCommandName(java.lang.String commandName)

addBufferTime

public void addBufferTime(int i)