projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change Vector2 param to a const Vector2&
[physics.git]
/
src
/
Entities
/
Ball.h
diff --git
a/src/Entities/Ball.h
b/src/Entities/Ball.h
index
8a1b1c8
..
8312c95
100644
(file)
--- a/
src/Entities/Ball.h
+++ b/
src/Entities/Ball.h
@@
-8,14
+8,14
@@
class Ball: public PhysicsEntity
{
public:
- Ball(
Vector2, float
);
+ Ball(
const Vector2&, float radius, const float* color
);
virtual ~Ball();
virtual void draw() const;
protected:
float radius;
-
//
color;
+
const float*
color;
};
#endif // BALL_H