next up previous contents
Next: GameMove Up: Extending functionality Previous: BoardController

BoardView

The user most create a class derived from a BoardView.

class BoardView
{
public:
  BoardView( const char *id );
  virtual ~BoardView() {};

  virtual void     move(const GameMove &mv) =0;
  virtual void     takeBack(const GameMove &mv) =0;

  const char *     getId();

private:
  const char *     _identification;
};



P J Leonard
Tue Oct 1 15:25:19 BST 1996