Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Files at this revision

API Documentation at this revision

Comitter:
el17sm
Date:
Sat Apr 20 22:51:55 2019 +0000
Parent:
7:4aaa37a711a1
Child:
9:304079450898
Commit message:
trauma;

Changed in this revision

Entity.h Show annotated file Show diff for this revision Revisions of this file
sprites.h Show annotated file Show diff for this revision Revisions of this file
--- a/Entity.h	Sat Apr 20 22:17:24 2019 +0000
+++ b/Entity.h	Sat Apr 20 22:51:55 2019 +0000
@@ -34,6 +34,7 @@
     public:
         // Functions
         virtual void move(float mapped_x, float mapped_y) = 0;
+        
         bool matrix_collision_test(float pos_x, float pos_y, int map_no){
             for (int j = pos_y; j < (int)pos_y + hitbox.height; j++){
                 for(int i = pos_x; i < (int)pos_x + hitbox.width; i++){
--- a/sprites.h	Sat Apr 20 22:17:24 2019 +0000
+++ b/sprites.h	Sat Apr 20 22:51:55 2019 +0000
@@ -290,7 +290,7 @@
             {0,0,0,0,1,0,}
         }
     },
-    {   // Right
+    {   // Left
         {
             {0,1,1,1,1,0,},
             {1,1,1,1,1,1,},