asdf

Dependencies:   mbed 4DGL-uLCD-SE MMA8452

Revision:
0:f39fc06d19be
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ConcreteAsteroid1.cpp	Thu Dec 10 19:53:39 2020 +0000
@@ -0,0 +1,16 @@
+#include "ConcreteAsteroid1.h"
+#include "utils.cpp"
+extern uLCD_4DGL lcd;
+extern Serial pc;
+
+void ConcreteAsteroid1::draw() {
+    lcd.BLIT(this->x, this->y, ASTEROID_HEIGHT, ASTEROID_WIDTH, asteroid_sprite_1);
+}
+
+void ConcreteAsteroid1::update(int _x, int _y) {
+    lcd.BLIT(this->x, this->y, ASTEROID_HEIGHT, ASTEROID_WIDTH, black_asteriod);
+    this->x = _x;
+    this->y = _y;
+    this->draw();
+}
+