[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/coord.cpp
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/coord.cpp |
Date: |
Fri, 04 Nov 2005 15:00:29 -0500 |
Index: eliot/game/coord.cpp
diff -u eliot/game/coord.cpp:1.2 eliot/game/coord.cpp:1.3
--- eliot/game/coord.cpp:1.2 Sun Oct 23 14:53:43 2005
+++ eliot/game/coord.cpp Fri Nov 4 20:00:06 2005
@@ -17,8 +17,6 @@
/* along with this program; if not, write to the Free Software */
/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-/* $Id: coord.cpp,v 1.2 2005/10/23 14:53:43 ipkiss Exp $ */
-
/**
* \file coord.cpp
* \brief Eliot coordinate system
@@ -58,25 +56,25 @@
return m_col;
}
-void
+void
Coord::setRow(int iRow)
{
m_row = iRow;
}
-
-void
+
+void
Coord::setCol(int iCol)
{
m_col = iCol;
}
-void
+void
Coord::setDir(Direction iDir)
{
m_dir = iDir;
}
-void
+void
Coord::operator=(const Coord &iOther)
{
m_dir = iOther.m_dir;
@@ -84,7 +82,7 @@
m_col = iOther.m_col;
}
-std::string
+std::string
Coord::toString() const
{
std::string rs;
- [Eliot-dev] Changes to eliot/game/coord.cpp,
eliot-dev <=