Dependencies: 4DGL-uLCD-SE PinDetect mbed
Display/Point.cpp@0:5c666e5cd22d, 2016-03-17 (annotated)
- Committer:
- jaspinall3
- Date:
- Thu Mar 17 20:47:11 2016 +0000
- Revision:
- 0:5c666e5cd22d
March 17, 2016 Vertical Scrolling Space Shooter
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jaspinall3 | 0:5c666e5cd22d | 1 | #include "Point.h" |
jaspinall3 | 0:5c666e5cd22d | 2 | |
jaspinall3 | 0:5c666e5cd22d | 3 | Point::Point() { |
jaspinall3 | 0:5c666e5cd22d | 4 | x = 0; |
jaspinall3 | 0:5c666e5cd22d | 5 | y = 0; |
jaspinall3 | 0:5c666e5cd22d | 6 | } |
jaspinall3 | 0:5c666e5cd22d | 7 | |
jaspinall3 | 0:5c666e5cd22d | 8 | Point::Point(int sx, int sy) { |
jaspinall3 | 0:5c666e5cd22d | 9 | x = sx; |
jaspinall3 | 0:5c666e5cd22d | 10 | y = sy; |
jaspinall3 | 0:5c666e5cd22d | 11 | } |