org.lee.mugen.sprite.cns.eval.function
Class SpriteCnsTriggerFunction

java.lang.Object
  extended by org.lee.mugen.sprite.cns.AbstractCnsFunction
      extended by org.lee.mugen.sprite.cns.eval.function.SpriteCnsTriggerFunction
All Implemented Interfaces:
Functionable, Valueable
Direct Known Subclasses:
Alive, Anim, Animelem, Animelemno, Animelemtime, Animexist, Animtime, Authorname, Backedgebodydist, Backedgedist, Canrecover, Command, CommandCount, Const, Ctrl, Drawgame, Facing, Format, Frontedgebodydist, Frontedgedist, Fvar, Gametime, Gethitvar, Hitcount, Hitdefattr, Hitfall, Hitover, Hitpausetime, Hitshakeover, Hitvel, Id, Inguarddist, IsAssertSpecial, Ishelper, Ishometeam, Life, Lifemax, Lose, Loseko, Losetime, Matchno, Matchover, Movecontact, Moveguarded, Movehit, Movereversed, Movetype, Name, Numenemy, Numexplod, Numhelper, Numpartner, Numproj, Numprojid, Numtarget, P1name, P2bodydist, P2dist, P2life, P2movetype, P2name, P2stateno, P2statetype, P3name, P4name, Palno, Parentdist, Physics, Playerid, Playeridexist, Pos, Posx, Posy, Power, Powermax, Prevstateno, Projcanceltime, Projcontact, Projcontacttime, Projguarded, Projguardedtime, Projhit, Projhittime, Random, Rootdist, Roundno, Roundsexisted, Roundstate, Screenpos, Selfanimexist, Stateno, Statetime, Statetype, Sysfvar, Sysvar, Target, Teammode, Teamside, Tickspersecond, Time, Timemod, Uniqhitcount, Var, Vel, Win, Winko

public class SpriteCnsTriggerFunction
extends AbstractCnsFunction


Field Summary
 
Fields inherited from class org.lee.mugen.sprite.cns.AbstractCnsFunction
functionName, paramNameIndexMap, paramNames, valueableParams
 
Constructor Summary
protected SpriteCnsTriggerFunction(java.lang.String functionName, java.lang.String[] paramNames)
           
 
Method Summary
 java.lang.String getRegex()
           
 int parseValue(java.lang.String[] tokens, int pos, java.util.List<Valueable> result)
           
 Valueable[] parseValue(java.lang.String name, java.lang.String value)
           
 void reset()
           
 
Methods inherited from class org.lee.mugen.sprite.cns.AbstractCnsFunction
addParam, control, copy, getFloatValuable, getFunctionName, getIntValuable, getParamIndex, getParamNames, getStringValuable, getValue, isSetterMandatory, setFunctionName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpriteCnsTriggerFunction

protected SpriteCnsTriggerFunction(java.lang.String functionName,
                                   java.lang.String[] paramNames)
Method Detail

parseValue

public Valueable[] parseValue(java.lang.String name,
                              java.lang.String value)
Specified by:
parseValue in class AbstractCnsFunction

parseValue

public int parseValue(java.lang.String[] tokens,
                      int pos,
                      java.util.List<Valueable> result)

getRegex

public java.lang.String getRegex()

reset

public void reset()