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/Walls/Walls.h
- Revision:
- 41:0697508a28ba
- Parent:
- 40:cbcbf6fc1421
- Child:
- 58:c8d90bb7404a
--- a/Entity/Walls/Walls.h Tue May 07 12:42:12 2019 +0000
+++ b/Entity/Walls/Walls.h Tue May 07 17:02:30 2019 +0000
@@ -1,16 +1,17 @@
-//#ifndef WALLS_H
-//#define WALLS_H
-//
-//class Walls : public Entity
-//{
-//public:
-// // Constructor
-// Walls(int pos_x, int pos_y, int hitbox_width, int hitbox_length);
-//
-// // Functions
-// virtual void move(float unused, float unused1, char * unused2, bool * unused3); // movement control and miscellaneous updates
-// virtual void take_damage(int damage);
-// virtual void draw(N5110 &lcd);
-//}
-//
-//#endif
\ No newline at end of file
+#ifndef WALLS_H
+#define WALLS_H
+#include "Entity.h"
+
+class Walls : public Entity
+{
+public:
+ // Constructor
+ Walls(int pos_x, int pos_y, int hitbox_width, int hitbox_height);
+
+ // Functions
+ virtual void move(float unused, float unused1, char * unused2, bool * unused3); // movement control and miscellaneous updates
+ virtual void take_damage(int damage);
+ virtual void draw(N5110 &lcd);
+};
+
+#endif
\ No newline at end of file