2014-04-29 02:26:32 +00:00
|
|
|
# See: http://wiki.flightgear.org/MapStructure
|
2014-01-10 03:04:36 +00:00
|
|
|
# Class things:
|
|
|
|
var name = 'WPT';
|
|
|
|
var parents = [Symbol.Controller];
|
|
|
|
var __self__ = caller(0)[0];
|
|
|
|
Symbol.Controller.add(name, __self__);
|
|
|
|
Symbol.registry[ name ].df_controller = __self__;
|
|
|
|
var new = func(model) ; # this controller doesn't need an instance
|
|
|
|
var LayerController = SymbolLayer.Controller.registry[ name ];
|
|
|
|
var isActive = func(model) LayerController.a_instance.isActive(model);
|
|
|
|
var query_range = func()
|
|
|
|
die( name~".scontroller.query_range /MUST/ be provided by implementation" );
|
|
|
|
|