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 MotionSensor
Diff: Entity/Player/Player.h
- Revision:
- 10:1a3499f6b583
- Child:
- 11:63e54f6e7939
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Entity/Player/Player.h Sun Apr 21 23:23:35 2019 +0000
@@ -0,0 +1,16 @@
+#ifndef PLAYER_H
+#define PLAYER_H
+#include "Entity.h"
+
+class Player : public Entity {
+ public:
+ // Constructors
+ Player(float, float);
+
+ // Functions
+ virtual void move(float, float);
+ virtual void chkdmg();
+ void buttons(bool, bool, bool, bool);
+};
+
+#endif
\ No newline at end of file