StuBS
Pong Class Reference

#include <user/graphics/pong.h>

Collaboration diagram for Pong:
[legend]

Public Member Functions

 Pong ()
 
void start ()
 
void play ()
 

Private Attributes

int height
 
int width
 
Point pos
 
Point dir
 
const Point paddle
 
Random rand
 

Static Private Attributes

static const int size = 100
 
static const int offset = 10
 

Constructor & Destructor Documentation

◆ Pong()

Pong::Pong ( )
inline

Member Function Documentation

◆ start()

void Pong::start ( )

◆ play()

void Pong::play ( )

Member Data Documentation

◆ height

int Pong::height
private

◆ width

int Pong::width
private

◆ pos

Point Pong::pos
private

◆ dir

Point Pong::dir
private

◆ paddle

const Point Pong::paddle
private

◆ size

const int Pong::size = 100
staticprivate

◆ offset

const int Pong::offset = 10
staticprivate

◆ rand

Random Pong::rand
private

The documentation for this class was generated from the following files: