summaryrefslogtreecommitdiffstats
path: root/examples/statemachine/errorstate/main.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-04-24 15:35:35 (GMT)
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-04-24 15:41:43 (GMT)
commitc3290381a1dba7971dd70b7220a71e6feceb3f4c (patch)
tree136f68ab9da00b4571118f18875b3d53928eee46 /examples/statemachine/errorstate/main.cpp
parentdfe6974c1e7103ad46fa1162d7c9fd6a426894b7 (diff)
downloadQt-c3290381a1dba7971dd70b7220a71e6feceb3f4c.zip
Qt-c3290381a1dba7971dd70b7220a71e6feceb3f4c.tar.gz
Qt-c3290381a1dba7971dd70b7220a71e6feceb3f4c.tar.bz2
Unfinished tank AI game. The idea is that you plug in AIs for the tanks, and
one such plugin will have a run time error, so the game server needs to use errorState for handling errors.
Diffstat (limited to 'examples/statemachine/errorstate/main.cpp')
-rw-r--r--examples/statemachine/errorstate/main.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/statemachine/errorstate/main.cpp b/examples/statemachine/errorstate/main.cpp
new file mode 100644
index 0000000..26fc1bb
--- /dev/null
+++ b/examples/statemachine/errorstate/main.cpp
@@ -0,0 +1,12 @@
+#include <QApplication>
+#include "mainwindow.h"
+
+int main(int argc, char **argv)
+{
+ QApplication app(argc, argv);
+
+ MainWindow mainWindow;
+ mainWindow.show();
+
+ return app.exec();
+}