예제 #1
0
 public Parser()
 {
     emitter   = new Emitter();
     readers   = new Stack <Reader>();
     variables = new Dictionary <string, Var>();
 }
예제 #2
0
 static void OpFilterHPBelow(Emitter e, int args, bool returnResult)
 {
     e.Literal(FilterHPBelow);
     e.Emit(Op.FilterTargets);
 }
예제 #3
0
 static void OpSelectRandom(Emitter e, int args, bool returnResult)
 {
     e.Literal(SelectRandom);
     e.Emit(Op.SelectTarget);
 }
예제 #4
0
 static void OpFilterRange(Emitter e, int args, bool returnResult)
 {
     e.Literal(FilterRange);
     e.Emit(Op.FilterTargets);
 }
예제 #5
0
 static void OpSelectEnemies(Emitter e, int args, bool returnResult)
 {
     e.Literal(SelectEnemies);
     e.Emit(Op.SelectTargets);
 }