Newer
Older
Import / applications / Chess / AbstractChessPiece.cpp
@John Ryland John Ryland on 22 Dec 2020 746 bytes import NUC files
/*
 * =====================================================================================
 *
 *       Filename:  AbstractChessPiece.cpp
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  21/02/2011 08:15:50
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  John Ryland (jryland), jryland@xiaofrog.com
 *        Company:  InvertedLogic
 *
 * =====================================================================================
 */


#include <AbstractChessPiece.h>


AbstractChessPiece::AbstractChessPiece(ChessPieceType typ, ChessPieceColor col, int rank, int file)
{
   type = typ;
   color = col;
   position.rank = rank;
   position.file = file;
}


AbstractChessPiece::~AbstractChessPiece()
{
}