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
alien/alien.cpp@10:13e6996223d5, 2019-04-14 (annotated)
- Committer:
- fy14lkaa
- Date:
- Sun Apr 14 16:59:28 2019 +0000
- Revision:
- 10:13e6996223d5
- Child:
- 11:df8ce6637022
creating alien.cpp in alien folder
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| fy14lkaa | 10:13e6996223d5 | 1 | #include "alien.h" |
| fy14lkaa | 10:13e6996223d5 | 2 | |
| fy14lkaa | 10:13e6996223d5 | 3 | |
| fy14lkaa | 10:13e6996223d5 | 4 | alien::alien() |
| fy14lkaa | 10:13e6996223d5 | 5 | { |
| fy14lkaa | 10:13e6996223d5 | 6 | |
| fy14lkaa | 10:13e6996223d5 | 7 | } |
| fy14lkaa | 10:13e6996223d5 | 8 | |
| fy14lkaa | 10:13e6996223d5 | 9 | alien::~alien() |
| fy14lkaa | 10:13e6996223d5 | 10 | { |
| fy14lkaa | 10:13e6996223d5 | 11 | |
| fy14lkaa | 10:13e6996223d5 | 12 | } |
| fy14lkaa | 10:13e6996223d5 | 13 | |
| fy14lkaa | 10:13e6996223d5 | 14 | void alien::init(int size,int speed) |
| fy14lkaa | 10:13e6996223d5 | 15 | { |
| fy14lkaa | 10:13e6996223d5 | 16 | |
| fy14lkaa | 10:13e6996223d5 | 17 | _size = size; |