Minor commentsmaster
authorSverre Rabbelier <[email protected]>
Sat, 26 Jan 2008 18:55:35 +0000 (26 19:55 +0100)
committerSverre Rabbelier <[email protected]>
Sat, 26 Jan 2008 18:55:35 +0000 (26 19:55 +0100)
4DMemory/Playground.cs

index 64515c1..ba37552 100644 (file)
@@ -44,11 +44,13 @@ namespace Memory
         {\r
             Card pickedCard = m_cardsGrid.getCard(xpos, ypos, zpos);\r
 \r
+            // No card selected, this means that the player is selecting their first card\r
             if (m_currentCard == null)\r
             {\r
                 m_currentCard = pickedCard;\r
                 return m_currentPlayer;\r
             }\r
+            // They are selecting their second card, compare with the first card\r
             else\r
             {\r
                 if (m_currentCard.Equals(pickedCard))\r