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 FATFileSystem
Diff: CaMove/CaMove.h
- Revision:
- 25:df39289eb8c0
- Parent:
- 24:7f26feb4666d
diff -r 7f26feb4666d -r df39289eb8c0 CaMove/CaMove.h
--- a/CaMove/CaMove.h Thu May 09 06:54:00 2019 +0000
+++ b/CaMove/CaMove.h Thu May 09 13:27:19 2019 +0000
@@ -1,6 +1,21 @@
#ifndef CAMOVE_H
#define CAMOVE_H
+
+#include "mbed.h"
+#include "Bitmap.h"
+#include <vector>
+
+
+/** Enum For Charater's Facing Direction. */
+enum Direction {
+ Lt, /**< Charater Facing Left. */
+ Rt, /**< Charater Facing Right. */
+ Fd, /**< Charater Facing Forward. */
+ Bd /**< Charater Facing Backward. */
+};
+
+
/** CaMove Class
@brief Class for Charater Animation and Movement Interation.
@brief Controls Interrupts for Interation Button and The Joystick for Charater Movement
@@ -84,21 +99,6 @@
}
@endcode
*/
-
-#include "mbed.h"
-#include "Bitmap.h"
-#include <vector>
-
-
-/** Enum For Charater's Facing Direction. */
-enum Direction {
- Lt, /**< Charater Facing Left. */
- Rt, /**< Charater Facing Right. */
- Fd, /**< Charater Facing Forward. */
- Bd /**< Charater Facing Backward. */
-};
-
-
class CaMove {
public :
/** Constructor