2005-05-23 04:52:37 +02:00
|
|
|
#ifndef __RECTPLACER_H__
|
|
|
|
#define __RECTPLACER_H__
|
|
|
|
|
|
|
|
#include "areaplacer.h"
|
|
|
|
#include "map.h"
|
|
|
|
|
|
|
|
class RectPlacer :
|
2005-05-23 05:51:37 +02:00
|
|
|
public AreaPlacer
|
2005-05-23 04:52:37 +02:00
|
|
|
{
|
|
|
|
public:
|
2005-05-23 05:51:37 +02:00
|
|
|
int x1, y1, x2, y2;
|
2005-05-23 04:52:37 +02:00
|
|
|
|
2005-05-23 05:51:37 +02:00
|
|
|
bool place(Map* m, Constraint* constr, std::vector<Point>& ret);
|
2005-05-23 04:52:37 +02:00
|
|
|
|
2005-05-23 05:51:37 +02:00
|
|
|
RectPlacer(int x1, int y1, int x2, int y2);
|
|
|
|
~RectPlacer(void);
|
2005-05-23 04:52:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|