
/**************************************************************************************************/
/*                                                                                                */
/*  Name:  DarC KonQuesT                                                                          */
/*  Program:  #2                                                                                  */
/*  Date:  2005.10.3                                                                              */
/*  Purpose:                                                                                      */
/*      The books implmentation of Position  - unchanged.                                         */
/*       used to track and manipulate positions.                                                  */
/*                                                                                                */
/*                                                                                                */
/**************************************************************************************************/

#include "Position.h"


Position::Position() {}

Position::Position (int row, int column)
{
    this -> row = row;
    this -> column = column;
} // 2-parameter constructor


void Position::setPosition (int row, int column)
{
    this -> row = row;
    this -> column = column;
} // method setPosition


int Position::getRow() const
{
    return row;
} // method getRow()


int Position::getColumn() const
{
    return column;
} // method getColumn()


