Rough PGN save support.
[tagua/yd.git] / src / piecefunction.h
blob632fb36af636a23545251d444c76132ec695f70d
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 #ifndef PIECEFUNCTION_H
12 #define PIECEFUNCTION_H
14 class PieceFunction {
15 public:
16 virtual ~PieceFunction() { }
17 virtual void operator()(int color, int type) = 0;
20 #endif // PIECEFUNCTION_H