You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegames/kue/global.h

41 lines
807 B
C

#ifndef __GLOBAL_H_
#define __GLOBAL_H_
#include <tqgl.h>
#include <tqptrvector.h>
#include "team.h"
class MainWindow;
class GLUserInterface;
class KueRulesEngine;
class KuePhysics;
class KueGlobal {
public:
// Get our version string
static const char *version() { return "1.0"; }
// Exit menu, start the game
static void stopMenu();
// Member instances
static KueRulesEngine *rules();
static KuePhysics *physics();
static GLUserInterface *glWidget();
static MainWindow *mainWindow();
static TQPtrVector<KueTeam> *teams();
private:
static KueRulesEngine *_rules;
static KuePhysics *_physics;
static GLUserInterface *_glWidget;
static MainWindow *_mainWindow;
static TQPtrVector<KueTeam> *_teams;
friend class MainWindow;
};
#endif