[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/coord.h
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/coord.h |
Date: |
Fri, 04 Nov 2005 15:00:30 -0500 |
Index: eliot/game/coord.h
diff -u eliot/game/coord.h:1.2 eliot/game/coord.h:1.3
--- eliot/game/coord.h:1.2 Sun Oct 23 14:53:43 2005
+++ eliot/game/coord.h 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.h,v 1.2 2005/10/23 14:53:43 ipkiss Exp $ */
-
/**
* \file coord.h
* \brief Game coordinates system
@@ -29,18 +27,18 @@
#ifndef _COORD_H
#define _COORD_H
-enum Tdirection {VERTICAL, HORIZONTAL};
-typedef enum Tdirection Direction;
-
class Coord
{
- public:
+public:
+
+ enum Direction {VERTICAL, HORIZONTAL};
Coord();
- ~Coord();
-
- void setRow(int iRow);
- void setCol(int iCol);
+ Coord(const std::string& iCoord);
+ virtual ~Coord();
+
+ void setRow(int iRow);
+ void setCol(int iCol);
void setDir(Direction iDir);
Direction getDir() const;
@@ -58,7 +56,7 @@
#endif
-
+
/// Local Variables:
/// mode: hs-minor
/// c-basic-offset: 4
- [Eliot-dev] Changes to eliot/game/coord.h,
eliot-dev <=