13 lines
No EOL
165 B
C++
13 lines
No EOL
165 B
C++
class Paddle{
|
|
const int height;
|
|
const int y;
|
|
|
|
int width;
|
|
int x;
|
|
|
|
public:
|
|
|
|
Paddle(int width, int x) : height(25), y(10), width(width), x(x){}
|
|
|
|
|
|
}; |