refactoring Bugfix

This commit is contained in:
doitux
2007-08-11 14:36:20 +00:00
parent b18152c0b8
commit 851cce3e45
12 changed files with 182 additions and 104 deletions
-8
View File
@@ -106,20 +106,12 @@ Game::Game(GuiInterface* gui, boost::shared_ptr<EngineFactory> factory,
Game::~Game()
{
// cout << "Delete Game Object" << "\n";
int i;
delete actualBoard;
actualBoard = 0;
delete actualHand;
actualHand = 0;
// boost::shared_ptr<PlayerInterface> tempPlayer;
// for(i=0; i<MAX_NUMBER_OF_PLAYERS; i++) {
// tempPlayer = playerArray[i];
// playerArray[i] = 0;
// delete tempPlayer;
// }
}
HandInterface * Game::getCurrentHand()