2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2007 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.
15 #include "taguaobject.h"
20 class TAGUA_EXPORT Piece
: public TaguaObject
{
22 const IColor
* m_color
;
24 Piece(const IColor
* color
= 0, IType
* type
= 0);
26 const IColor
* color() const;
27 const IType
* type() const;
29 void setType(IType
* type
);
31 bool operator==(const Piece
& other
) const;
32 bool operator!=(const Piece
& other
) const;
35 Q_DECLARE_METATYPE(Piece
)
37 #endif // CORE__PIECE_H