/* 
 * File:   Piece.h
 * Author: macino
 *
 * Created on �tvrtok, 2008, december 18, 15:22
 */

#ifndef _PIECE_H
#define	_PIECE_H

#include <vector>

#include "Rule.h"
#include "Node.h"

class Piece{
public:
    Piece(Rule* rule);
    ~Piece();

    Rule* rule;
    int x,y,width,height;
    vector<int> *inputY;
    vector<int> *outputY;
	bool operator<(Piece &p);

};

#endif	/* _PIECE_H */

