7ca8482b07
In time for 3.0. The API is still not fully complete, and not fully cleaned up, but this is good enough for this release cycle (and it should offer benefit longer term, if not now -- hopefully performance as well). Many thanks to Hooray as well, who has helped prepare things while I could not, and often suggested ideas.
11 lines
469 B
Text
11 lines
469 B
Text
# Class things:
|
|
var parents = [Symbol.Controller];
|
|
var __self__ = caller(0)[0];
|
|
Symbol.Controller.add("VOR", __self__);
|
|
Symbol.registry["VOR"].df_controller = __self__;
|
|
var new = func(model) ; # this controller doesn't need an instance
|
|
var LayerController = SymbolLayer.Controller.registry["VOR"];
|
|
var isActive = func(model) LayerController.a_instance.isActive(model);
|
|
var query_range = func()
|
|
die("VOR.scontroller.query_range /MUST/ be provided by implementation");
|
|
|