
/**************************************************************************************************/
/*                                                                                                */
/*  Name:  DarC KonQuesT                                                                          */
/*  Program:  #2                                                                                  */
/*  Date:  2005.10.3                                                                              */
/*  Purpose:                                                                                      */
/*      The books include file for Position.cpp - unchanged.                                      */
/*       used to track and manipulate positions.                                                  */
/*                                                                                                */
/*                                                                                                */
/**************************************************************************************************/


#ifndef POSITION
#define POSITION

#include <string>

using namespace std;

class Position
{
    public:

        // Postcondition: this Position has been initialized.
        Position();


        // Postcondition: this Position has been initialized from
        //                row and column.
        Position (int row, int column);


        // Postcondition: this Position has been initialized from
        //                row and column.
        void setPosition (int row, int column);


        // Postcondition: this Position's row has been returned.
        int getRow() const;

        // Postcondition: this Position's column has been returned.
        int getColumn() const;
    protected:
        int row,
            column;

}; // class Position


#endif

