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
RosenEngine/RosenEngine.cpp@3:f9cd1a38d5c6, 2019-03-02 (annotated)
- Committer:
- ikenna1
- Date:
- Sat Mar 02 19:36:45 2019 +0000
- Revision:
- 3:f9cd1a38d5c6
- Parent:
- 2:66a4e5d7a7cd
- Child:
- 4:740e14ebbc97
Added in a title card
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ikenna1 | 3:f9cd1a38d5c6 | 1 | #include "RosenEngine.h" |
ikenna1 | 3:f9cd1a38d5c6 | 2 | |
ikenna1 | 2:66a4e5d7a7cd | 3 | // Constructor |
ikenna1 | 2:66a4e5d7a7cd | 4 | RosenEngine::RosenEngine() |
ikenna1 | 2:66a4e5d7a7cd | 5 | { |
ikenna1 | 2:66a4e5d7a7cd | 6 | |
ikenna1 | 2:66a4e5d7a7cd | 7 | } |
ikenna1 | 2:66a4e5d7a7cd | 8 | // Destructor |
ikenna1 | 2:66a4e5d7a7cd | 9 | RosenEngine::~RosenEngine() |
ikenna1 | 2:66a4e5d7a7cd | 10 | { |
ikenna1 | 2:66a4e5d7a7cd | 11 | |
ikenna1 | 2:66a4e5d7a7cd | 12 | } |
ikenna1 | 3:f9cd1a38d5c6 | 13 | |
ikenna1 | 3:f9cd1a38d5c6 | 14 | /* |
ikenna1 | 2:66a4e5d7a7cd | 15 | void RosenEngine::init(int ship_width,int ship_speed,int ship_x_pos,int ship_y_pos) |
ikenna1 | 2:66a4e5d7a7cd | 16 | { |
ikenna1 | 2:66a4e5d7a7cd | 17 | _ship_width = ship_width; |
ikenna1 | 2:66a4e5d7a7cd | 18 | _ship_speed = ship_speed; |
ikenna1 | 2:66a4e5d7a7cd | 19 | _ship_x_pos = ship_x_pos; |
ikenna1 | 2:66a4e5d7a7cd | 20 | _ship_y_pos = ship_y_pos; |
ikenna1 | 3:f9cd1a38d5c6 | 21 | } |
ikenna1 | 3:f9cd1a38d5c6 | 22 | */ |