#include "rules.h" #include "physics.h" #include "global.h" #include "main.h" KueRulesEngine* KueGlobal::_rules = nullptr; KuePhysics* KueGlobal::_physics = nullptr; GLUserInterface* KueGlobal::_glWidget = nullptr; MainWindow* KueGlobal::_mainWindow = nullptr; TQPtrVector* KueGlobal::_teams = nullptr; KueRulesEngine* KueGlobal::rules() { return _rules; } KuePhysics* KueGlobal::physics() { return _physics; } GLUserInterface *KueGlobal::glWidget() { return _glWidget; } MainWindow *KueGlobal::mainWindow() { return _mainWindow; } TQPtrVector *KueGlobal::teams() { if (!_teams) { _teams = new TQPtrVector; } return _teams; }