ug4
ug::bridge::Cake Class Reference

Public Member Functions

int add_pieces (Piece &piece)
 
 Cake ()
 
int pieces_left ()
 
Piecetake_pieces (int size)
 

Protected Attributes

int m_numPieces
 

Constructor & Destructor Documentation

◆ Cake()

ug::bridge::Cake::Cake ( )
inline

Member Function Documentation

◆ add_pieces()

int ug::bridge::Cake::add_pieces ( Piece piece)
inline

◆ pieces_left()

int ug::bridge::Cake::pieces_left ( )
inline

◆ take_pieces()

Piece& ug::bridge::Cake::take_pieces ( int  size)
inline

Member Data Documentation

◆ m_numPieces

int ug::bridge::Cake::m_numPieces
protected

The documentation for this class was generated from the following file: