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: mbed MotionSensor
Entity/Walls/Walls.h@40:cbcbf6fc1421, 2019-05-07 (annotated)
- Committer:
- el17sm
- Date:
- Tue May 07 12:42:12 2019 +0000
- Revision:
- 40:cbcbf6fc1421
- Child:
- 41:0697508a28ba
Restart Works
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| el17sm | 40:cbcbf6fc1421 | 1 | //#ifndef WALLS_H |
| el17sm | 40:cbcbf6fc1421 | 2 | //#define WALLS_H |
| el17sm | 40:cbcbf6fc1421 | 3 | // |
| el17sm | 40:cbcbf6fc1421 | 4 | //class Walls : public Entity |
| el17sm | 40:cbcbf6fc1421 | 5 | //{ |
| el17sm | 40:cbcbf6fc1421 | 6 | //public: |
| el17sm | 40:cbcbf6fc1421 | 7 | // // Constructor |
| el17sm | 40:cbcbf6fc1421 | 8 | // Walls(int pos_x, int pos_y, int hitbox_width, int hitbox_length); |
| el17sm | 40:cbcbf6fc1421 | 9 | // |
| el17sm | 40:cbcbf6fc1421 | 10 | // // Functions |
| el17sm | 40:cbcbf6fc1421 | 11 | // virtual void move(float unused, float unused1, char * unused2, bool * unused3); // movement control and miscellaneous updates |
| el17sm | 40:cbcbf6fc1421 | 12 | // virtual void take_damage(int damage); |
| el17sm | 40:cbcbf6fc1421 | 13 | // virtual void draw(N5110 &lcd); |
| el17sm | 40:cbcbf6fc1421 | 14 | //} |
| el17sm | 40:cbcbf6fc1421 | 15 | // |
| el17sm | 40:cbcbf6fc1421 | 16 | //#endif |