public static void Register(string name, MapScriptFunction scriptFunction) { Handlers[name] = new MapScriptHandler(name, scriptFunction); }
public MapScriptHandler(string script, MapScriptFunction scriptFunction) { Script = script; ProcessScript = scriptFunction; }