Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Revision:
38:09832e662803
Parent:
37:a404860171a9
diff -r a404860171a9 -r 09832e662803 Entity/Player/Bullets/Bullets.cpp
--- a/Entity/Player/Bullets/Bullets.cpp	Tue May 07 03:47:39 2019 +0000
+++ b/Entity/Player/Bullets/Bullets.cpp	Tue May 07 09:09:38 2019 +0000
@@ -2,8 +2,7 @@
 
 Bullets::Bullets(float pos_x, float pos_y, int dir)
 {
-    moving = true;
-    face = 0;
+    _type = 1;
     hp = 1;
     hitbox.width = 3;
     hitbox.height = 3;
@@ -11,7 +10,7 @@
     position.y = pos_y;
     sprite_size.width = 3;
     sprite_size.height = 3;
-    sprite_size.offset_x = 0;
+    sprite_size.offset_x = -1;
     sprite_size.offset_y = -1;
     direction = dir;
 }