#include <BGGUITriangle.h>
Inheritance diagram for CBGGUITriangle:

Public Member Functions | |
| CBGGUITriangle (QCanvas *pParent, int32 x, int32 y, int32 loc, CBGGUITriangle::COLOR style) | |
| CBGGUITriangle. | |
| int32 | rtti () const |
| rtti | |
| void | redraw (const int32 x, const int32 y, const int32 width, const int32 height) |
| redraw | |
| uint32 | getPosition () const |
| getPosition | |
| void | AddPiece () |
| AddPiece. | |
| void | RemovePiece () |
| RemovePiece. | |
| uint32 | GetPieceCount () const |
| GetPieceCount. | |
| void | SetPieceColor (CBGGUIPiece::COLOR color) |
| SetPieceColor. | |
Description: A CGuiPiece derived class used to draw the Backgammon game triangles on the screen. (Red & White)
Limitations: NONE
|
||||||||||||||||||||||||
|
CBGGUITriangle. Description: Class constructor
|
|
|
AddPiece. Description: Adds a checker to this triangle.
|
|
|
GetPieceCount. Description: Returns the number of pieces on the triangle
|
|
|
getPosition Description: Returns the position of this Backgammon triangle.
|
|
||||||||||||||||||||
|
redraw Description: Redraws the piece object based on the new size and offset.
Implements CGuiPiece. |
|
|
RemovePiece. Description: Removes a checker to this triangle.
|
|
|
rtti Description: Returns the Runtime Type Identifier.
Implements CGuiPiece. |
|
|
SetPieceColor. Description: Sets the color of the checkers on the triangle.
|