org.lee.mugen.core.command
Class ReleaseCommand

java.lang.Object
  extended by org.lee.mugen.core.command.AbstractCommand
      extended by org.lee.mugen.core.command.ReleaseCommand

public class ReleaseCommand
extends AbstractCommand

ReleaseCommand INFO : May be here there are some replication in conception because this class is a PressCommand and it's kind is RELEASE We have the information twice :/ Never mind it's work :p

Author:
Dr Wong

Nested Class Summary
 
Nested classes/interfaces inherited from class org.lee.mugen.core.command.AbstractCommand
AbstractCommand.Kind
 
Field Summary
 
Fields inherited from class org.lee.mugen.core.command.AbstractCommand
kind
 
Constructor Summary
ReleaseCommand(int key, long tick, long holdTick)
           
 
Method Summary
 long getHoldTick()
          get the number of tick that say how long this key is hold before it release
 java.lang.String toString()
           
 
Methods inherited from class org.lee.mugen.core.command.AbstractCommand
getKey, getKind, getTick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReleaseCommand

public ReleaseCommand(int key,
                      long tick,
                      long holdTick)
Method Detail

getHoldTick

public long getHoldTick()
get the number of tick that say how long this key is hold before it release

Returns:

toString

public java.lang.String toString()
Overrides:
toString in class AbstractCommand