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/Headless/Headless.h
- Revision:
- 10:1a3499f6b583
- Child:
- 12:a1c1991835ca
diff -r 304079450898 -r 1a3499f6b583 Entity/Headless/Headless.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Entity/Headless/Headless.h Sun Apr 21 23:23:35 2019 +0000
@@ -0,0 +1,17 @@
+#ifndef HEADLESS_H
+#define HEADLESS_H
+#include "Entity.h"
+
+class Headless : public Entity {
+
+ public:
+ // Constructor
+ Headless(float, float);
+
+ // Functions
+ virtual void move(float, float);
+ virtual void chkdmg();
+};
+const float headless_velocity = 0.4;
+
+#endif
\ No newline at end of file