Yang Zhenye 201199680
Dependencies: mbed
Diff: RooneyEngine/RooneyEngine.h
- Revision:
- 5:fcad75e9b9e1
- Parent:
- 4:eb8dca1dc341
- Child:
- 7:a69ae964412c
diff -r eb8dca1dc341 -r fcad75e9b9e1 RooneyEngine/RooneyEngine.h --- a/RooneyEngine/RooneyEngine.h Wed May 13 14:55:07 2020 +0000 +++ b/RooneyEngine/RooneyEngine.h Thu May 14 14:13:03 2020 +0000 @@ -1,5 +1,5 @@ -#ifndef "ROONEYENGINE" -#define "ROONEYENGINE" +#ifndef ROONEYENGINE_H +#define ROONEYENGIN_H #include "mbed.h" #include "N5110.h" @@ -9,7 +9,14 @@ class RooneyEngine{ public: + // Constructor and destructor. + /** + * @brief Constructor @details Non user specified. + */ RooneyEngine(); + /** + * @brief Destructor @details Non user specified. + */ ~RooneyEngine(); void init(); void reset(); @@ -33,6 +40,6 @@ bool _reset_flag; int _speed; int _player_score; -} +}; #endif \ No newline at end of file