diff options
author | Tamas Martinec <tamas.martinec@symbio.com> | 2021-02-25 12:14:02 +0200 |
---|---|---|
committer | Tamas Martinec <tamas.martinec@symbio.com> | 2021-03-08 11:35:00 +0200 |
commit | bd1f00bb67c1e4a10774fdfdf6f0a0fd513ee50d (patch) | |
tree | 42c6796be97143607070318a299e95d5d16de470 /examples/statemachine/animation/sub-attaq/states.h | |
parent | be635ace5186e8ea4db160a48cac123af84fdcd4 (diff) |
QtScxml: Improve sub-attaq example
- Added information about how to start and play the game
- Improved the english in messages and comments
Pick-to: 6.1
Task-number: QTBUG-89834
Change-Id: I3bb1d8667c58a601d8d660316e2e29805e1e0bca
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to 'examples/statemachine/animation/sub-attaq/states.h')
-rw-r--r-- | examples/statemachine/animation/sub-attaq/states.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/statemachine/animation/sub-attaq/states.h b/examples/statemachine/animation/sub-attaq/states.h index b3651e1..e891c7e 100644 --- a/examples/statemachine/animation/sub-attaq/states.h +++ b/examples/statemachine/animation/sub-attaq/states.h @@ -142,7 +142,7 @@ public: private: }; -//These transtion is used to update the score +//This transition is used to update the score class UpdateScoreTransition : public QSignalTransition { public: @@ -154,7 +154,7 @@ private: GraphicsScene *scene; }; -//These transtion test if we have won the game +//This transition tests if we have won the game class WinTransition : public QSignalTransition { public: @@ -166,7 +166,7 @@ private: GraphicsScene *scene; }; -//These transtion is true if one level has been completed and the player want to continue +//This transition is true if one level has been completed and the player wants to continue class CustomSpaceTransition : public QKeyEventTransition { public: |