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: bullet/bullet.h
- Revision:
- 53:db66345d6755
- Parent:
- 52:84e89553c606
- Child:
- 54:095eae44895b
--- a/bullet/bullet.h Mon Apr 22 14:59:49 2019 +0000
+++ b/bullet/bullet.h Mon Apr 22 15:10:02 2019 +0000
@@ -73,10 +73,26 @@
Vector2D get_velocity();
private:
+//member variables
+//parameters
- Vector2D _velocity;
- int _size;
- int _x;
- int _y;
+/*@param
+ _velocity
+ */
+ Vector2D _velocity; // declation of a variable member _velocity which shows the velocity of the Alien in Vector2D.
+ /*@param
+_size
+ */
+ int _size; // declation of a variable member _size which shows the size of the Alien.
+ /*@param
+_x
+ */
+
+ int _x; ////declation of a variable member _x which shows the x-cooridante of the Alien.
+ /*@param
+_y
+ */
+ int _y; //declation of a variable member _y which shows the y-cooridante of the Alien.
+
};
#endif
\ No newline at end of file