John Aspinall / Mbed 2 deprecated SpaceGame

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Circle.h Source File

Circle.h

00001 #ifndef CIRCLE_H
00002 #define CIRCLE_H
00003 
00004 #include "Sprite.h"
00005 
00006 class Circle : public Sprite {
00007 public:
00008     Circle();
00009     void init(int x, int y, uLCD_4DGL *uLCD);
00010     void setRadius(int r);
00011     void drawCircle(int baseX, int baseY, int color);
00012 
00013 protected:
00014     int _radius;
00015 };
00016 
00017 #endif