#include <TicTacToeGUIPiece.h>
Inheritance diagram for CTicTacToeGUIPiece:
Public Member Functions | |
CTicTacToeGUIPiece (QCanvas *pParent, int32 row, int32 col, CTicTacToePiece::TYPE style=CTicTacToePiece::EMPTY) | |
CTicTacToeGUIPiece. | |
int32 | rtti () const |
rtti | |
void | redraw (const int32 x, const int32 y, const int32 width, const int32 height) |
redraw | |
int32 | getRow () const |
getRow | |
int32 | getCol () const |
getCol | |
const QPoint & | getPosition () const |
getPosition |
Description: A CGuiPiece derived class used to draw the TicTacToe game pieces on the screen. (Empty, X, & O)
Limitations: NONE
|
CTicTacToeGUIPiece. 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. |