4
Diff: Ball.cpp
- Revision:
- 4:d3f87c8e4027
- Parent:
- 3:8ec14becdf83
--- a/Ball.cpp Sun Mar 05 21:21:52 2017 +0000 +++ b/Ball.cpp Sun Mar 05 23:10:45 2017 +0000 @@ -28,7 +28,7 @@ _velocity.x = speed; _velocity.y = -speed; } else if (direction == 2) { - _velocity.x = -speed; + _velocity.x = speed; _velocity.y = speed; } else { _velocity.x = -speed; @@ -69,9 +69,4 @@ { _x = p.x; _y = p.y; -} - -int Ball::get_size() -{ - return _size; } \ No newline at end of file