zombie.Lua
Class Event.Remove

java.lang.Object
  extended by zombie.Lua.Event.Remove
All Implemented Interfaces:
se.krka.kahlua.vm.JavaFunction
Enclosing class:
Event

public class Event.Remove
extends java.lang.Object
implements se.krka.kahlua.vm.JavaFunction


Constructor Summary
Event.Remove(Event e)
           
 
Method Summary
 int call(se.krka.kahlua.vm.LuaCallFrame callFrame, int nArguments)
          This interface defines functions which the Kahlua engine can call.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event.Remove

public Event.Remove(Event e)
Method Detail

call

public int call(se.krka.kahlua.vm.LuaCallFrame callFrame,
                int nArguments)
Description copied from interface: se.krka.kahlua.vm.JavaFunction
This interface defines functions which the Kahlua engine can call. General contract:
  callFrame.get(i) = an argument (0 <= i < nArguments)
Return (possibly) values to lua by calling:
  callFrame.push(value1);
  callFrame.push(value2);
  return 2; // number of pushed values
 

Specified by:
call in interface se.krka.kahlua.vm.JavaFunction
Parameters:
callFrame - - the frame that contains all the arguments and where all the results should be put.
nArguments - - number of function arguments
Returns:
N, number of return values. The top N objects on the stack are considered the return values.