|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectzombie.Lua.Event.Add
public class Event.Add
Constructor Summary | |
---|---|
Event.Add(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 |
---|
public Event.Add(Event e)
Method Detail |
---|
public int call(se.krka.kahlua.vm.LuaCallFrame callFrame, int nArguments)
se.krka.kahlua.vm.JavaFunction
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
call
in interface se.krka.kahlua.vm.JavaFunction
callFrame
- - the frame that contains all the arguments and where all the results should be put.nArguments
- - number of function arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |