Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed N5110 ShiftReg PinDetect
State.cpp@17:d6a3b29cab31, 2015-05-11 (annotated)
- Committer:
- Siriagus
- Date:
- Mon May 11 03:52:18 2015 +0000
- Revision:
- 17:d6a3b29cab31
- Parent:
- 12:8178fad5e660
Added sound effects ++
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Siriagus | 4:d6661b976359 | 1 | #include "State.h" |
| Siriagus | 4:d6661b976359 | 2 | #include "StateManager.h" |
| Siriagus | 4:d6661b976359 | 3 | |
| Siriagus | 17:d6a3b29cab31 | 4 | /// @file State.cpp |
| Siriagus | 17:d6a3b29cab31 | 5 | |
| Siriagus | 4:d6661b976359 | 6 | // Request the fsm to change to a new state |
| Siriagus | 7:678873947b29 | 7 | void State::requestStateChange(MainState newState) |
| Siriagus | 4:d6661b976359 | 8 | { |
| Siriagus | 7:678873947b29 | 9 | fsm->requestStateChange(newState); |
| Siriagus | 4:d6661b976359 | 10 | } |