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.
Sprite.h
00001 #ifndef SPRITE_H 00002 #define SPRITE_H 00003 00004 class Sprite{ 00005 protected: 00006 int m_x; 00007 int m_y; 00008 00009 public: 00010 Sprite(); 00011 Sprite(int x, int y); 00012 int getX(); 00013 int getY(); 00014 void setX(int x); 00015 void setY(int y); 00016 bool hitBy(Sprite another); 00017 }; 00018 00019 #endif
Generated on Sun Aug 7 2022 05:10:42 by
1.7.2