public override void Init(Interpreter mini) { base.Init(mini); mini.AddFun(new Fun("bootloader", "require", "Require", MetaSymbol.Str)); }
void AddFun(string method, params MetaSymbol[] args) { string fullname = "game." + method.ToLower(); gelii.AddFun(new Fun("game", fullname, method, args)); }
public void AddFun(string method, params MetaSymbol[] args) { string fullname = apiName + "." + method.ToLower(); mini.AddFun(new Fun(apiName, fullname, method, args)); }