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: 4DGL-uLCD-SE PinDetect mbed
AbstractAsteroid.h
00001 #ifndef __ABSTRACTASTEROID_H__ 00002 #define __ABSTRACTASTEROID_H__ 00003 00004 #include "ScreenObject.h" 00005 00006 class AbstractAsteroid : public ScreenObject { 00007 public: 00008 int getXPath() const; 00009 int getYPath() const; 00010 int getSpeed() const; 00011 void setXPath(int); 00012 void setYPath(int); 00013 void setSpeed(int); 00014 virtual void draw(); 00015 virtual void update(); 00016 00017 private: 00018 int xPath; 00019 int yPath; 00020 int speed; 00021 }; 00022 00023 #endif
Generated on Fri Jul 15 2022 18:55:10 by
1.7.2