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
Diff: spase_ship/space_ship.cpp
- Revision:
- 90:a992605aeb8d
- Parent:
- 89:2eb3b6624117
- Child:
- 91:f9e2ff484014
diff -r 2eb3b6624117 -r a992605aeb8d spase_ship/space_ship.cpp --- a/spase_ship/space_ship.cpp Sun Apr 28 15:16:44 2019 +0000 +++ b/spase_ship/space_ship.cpp Sun Apr 28 15:21:54 2019 +0000 @@ -53,3 +53,8 @@ { return _score; } + +Vector2D space_ship::get_pos() { + Vector2D p = {_x,_y}; + return p; +} \ No newline at end of file