[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Camino-devel] camino/src/client Game.cpp
From: |
Pascal Audoux |
Subject: |
[Camino-devel] camino/src/client Game.cpp |
Date: |
Sun, 09 Mar 2003 10:19:23 -0500 |
CVSROOT: /cvsroot/camino
Module name: camino
Changes by: Pascal Audoux <address@hidden> 03/03/09 10:19:23
Modified files:
src/client : Game.cpp
Log message:
manage 'complete' move
Patches:
Index: camino/src/client/Game.cpp
diff -u camino/src/client/Game.cpp:1.30 camino/src/client/Game.cpp:1.31
--- camino/src/client/Game.cpp:1.30 Sat Mar 8 08:47:26 2003
+++ camino/src/client/Game.cpp Sun Mar 9 10:19:23 2003
@@ -2,7 +2,7 @@
**
** Camino
**
-** Version : $Id: Game.cpp,v 1.30 2003/03/08 13:47:26 Audoux Exp $
+** Version : $Id: Game.cpp,v 1.31 2003/03/09 15:19:23 Audoux Exp $
**
** Author(s) : Philippe Fremy, Pascal Audoux
** Creation : 15/01/2003
@@ -222,6 +222,9 @@
_tilePresentation->getSelected()->setPosition( row, col );
if( _stateAction == ActionPlay ) {
sendPlayerPlaysAMove( _tilePresentation->getSelected() );
+ _tilePresentation->removeSelectedTile();
+ } else if( _stateAction == ActionComplete ) {
+ sendPlayerCompletes( _tilePresentation->getSelected() );
_tilePresentation->removeSelectedTile();
}
}