2 Copyright (c) 2008 Yann Dirson <ydirson@altern.org>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
13 #include <core/defaulttype.h>
17 class TAGUA_EXPORT Type
: public DefaultType
{
19 virtual const std::vector
<MoveDefinition
> * const movesDefinitions() const = 0;
20 virtual bool canMove(const Piece
& piece
, const Piece
& target
,
21 Move
& move
, const IState
* state
) const;
26 #endif // SHOGI__TYPE_H