2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
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.
13 Element::Element() { }
15 Element::Element(AbstractPiece::Ptr piece, SpritePtr sprite)
16 : m_piece(piece) //NOTE: clone?!?!??!?!?!
17 , m_sprite(sprite) { }
19 Element::operator bool() const {
23 AbstractPiece::Ptr Element::piece() const { return m_piece; }
24 Element::SpritePtr Element::sprite() const { return m_sprite; }