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.
Flag.h
00001 #include "GameObject.h" 00002 00003 #ifndef __FLAG_H__ 00004 #define __FLAG_H__ 00005 00006 class Flag : public GameObject 00007 { 00008 public: 00009 Flag() : 00010 _active(true) 00011 { 00012 setSpriteId(8); 00013 setCollisionRect(0, 0, 8, 8); 00014 } 00015 00016 inline bool getActive() { return _active; } 00017 inline void setActive(bool active) { _active = active; } 00018 00019 private: 00020 bool _active; 00021 00022 }; 00023 #endif //__FLAG_H__
Generated on Tue Jul 12 2022 21:15:25 by
