I develop a game with help of PopCap Framework. I found this header in demo:
#ifndef __BOARD_H__
#define __BOARD_H__
#include "SexyAppFramework/Widget.h"
namespace Sexy
{
class Graphics;
class GameApp;
class Board : public Widget
{
private:
GameApp* mApp;
public:
Board(GameApp* theApp);
virtual ~Board();
virtual void Draw(Graphics* g);
virtual void Update();
};
}
#endif // __BOARD_H__
What does the following mean?
namespace Sexy
{
}
I guess it means the same as
using namespace Sexy;
But for the code within braces, is this so?
And what does it mean?
class Graphics;
class GameApp;