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@2:66a4e5d7a7cd, 2019-02-27 (annotated)
- Committer:
- ikenna1
- Date:
- Wed Feb 27 12:07:03 2019 +0000
- Revision:
- 2:66a4e5d7a7cd
- Child:
- 3:f9cd1a38d5c6
started working on bringing the lose code i have from other files into the project. 1st one being sprite_motion
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ikenna1 | 2:66a4e5d7a7cd | 1 | // Constructor |
ikenna1 | 2:66a4e5d7a7cd | 2 | RosenEngine::RosenEngine() |
ikenna1 | 2:66a4e5d7a7cd | 3 | { |
ikenna1 | 2:66a4e5d7a7cd | 4 | |
ikenna1 | 2:66a4e5d7a7cd | 5 | } |
ikenna1 | 2:66a4e5d7a7cd | 6 | // Destructor |
ikenna1 | 2:66a4e5d7a7cd | 7 | RosenEngine::~RosenEngine() |
ikenna1 | 2:66a4e5d7a7cd | 8 | { |
ikenna1 | 2:66a4e5d7a7cd | 9 | |
ikenna1 | 2:66a4e5d7a7cd | 10 | } |
ikenna1 | 2:66a4e5d7a7cd | 11 | void RosenEngine::init(int ship_width,int ship_speed,int ship_x_pos,int ship_y_pos) |
ikenna1 | 2:66a4e5d7a7cd | 12 | { |
ikenna1 | 2:66a4e5d7a7cd | 13 | _ship_width = ship_width; |
ikenna1 | 2:66a4e5d7a7cd | 14 | _ship_speed = ship_speed; |
ikenna1 | 2:66a4e5d7a7cd | 15 | _ship_x_pos = ship_x_pos; |
ikenna1 | 2:66a4e5d7a7cd | 16 | _ship_y_pos = ship_y_pos; |
ikenna1 | 2:66a4e5d7a7cd | 17 | } |