#include <OthelloGUIPiece.h>
Inheritance diagram for COthelloGUIPiece:

Public Member Functions | |
| COthelloGUIPiece (QCanvas *pParent, int32 row, int32 col, COthelloPiece::TYPE style=COthelloPiece::EMPTY) | |
| COthelloPiece. | |
| int32 | rtti () const |
| rtti | |
| void | redraw (const int32 tilesize, const QPoint &offset) |
| redraw | |
| int32 | getRow () const |
| getRow | |
| int32 | getCol () const |
| getCol | |
| const QPoint & | getPosition () const |
| getPosition | |
Description: A CGuiPiece derived class used to draw the Othello game pieces on the screen. (Blank, White, & Black)
Limitations: NONE
|
||||||||||||||||||||
|
Description: Class constructor
|
|
|
getCol Description: Returns the column of this Othello game piece.
|
|
|
getPosition Description: Returns the position of this Othello game piece.
|
|
|
getRow Description: Returns the row of this Othello game piece.
|
|
||||||||||||
|
redraw Description: Redraws the piece object based on the new size and offset.
Implements CGuiPiece. |
|
|
rtti Description: Returns the Runtime Type Identifier.
Implements CGuiPiece. |