diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-30 07:13:44 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-30 07:13:44 (GMT) |
commit | 0f8de3b0b4ccccbeba97999635eb5716f561fb30 (patch) | |
tree | 9f4832310807cd7d784295f79549bb64dab0a2a9 /examples/statemachine/errorstateplugins/errorstateplugins.pro | |
parent | 19e7d27d9c107b69157591edd09a36e87c9d93b2 (diff) | |
download | Qt-0f8de3b0b4ccccbeba97999635eb5716f561fb30.zip Qt-0f8de3b0b4ccccbeba97999635eb5716f561fb30.tar.gz Qt-0f8de3b0b4ccccbeba97999635eb5716f561fb30.tar.bz2 |
Add two AIs: They are both designed to do the same. Spin until they see a tank
and then fire. One of them has an error, which causes it to enter its error
state. The errorstate example has been changed to handle this by disabling
the tank. The rest of the tanks will keep working.
Diffstat (limited to 'examples/statemachine/errorstateplugins/errorstateplugins.pro')
-rw-r--r-- | examples/statemachine/errorstateplugins/errorstateplugins.pro | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/statemachine/errorstateplugins/errorstateplugins.pro b/examples/statemachine/errorstateplugins/errorstateplugins.pro new file mode 100644 index 0000000..e7718a9 --- /dev/null +++ b/examples/statemachine/errorstateplugins/errorstateplugins.pro @@ -0,0 +1,10 @@ +TEMPLATE = subdirs +SUBDIRS = random_ai \ + spin_ai_with_error \ + spin_ai + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/statemachine/errorstateplugins +sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS errorstateplugins.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/statemachine/errorstateplugins +INSTALLS += target sources |