#ifndef _TABLE_HPP_
#define _TABLE_HPP_
class Ball::CBall;
class Player::CPlayer;
namespace Table {
class CTable {
public:
CTable (unsigned int Width, unsigned int Height);
inline unsigned int getWidth () const;
inline unsigned int getHeight () const;
inline Player::CPlayer & getLeftPlayer ();
inline Player::CPlayer & getRightPlayer ();
inline Ball::CBall & getBall ();
private:
unsigned int d_Width;
unsigned int d_Height;
Player::CPlayer * d_Left_Player;
Player::Cplayer * d_Right_Player;
Ball::CBall * d_Ball;
};
}
#endif
Сообщение отредактировано: Игорь -