0ad/source/tools/rmgen/clumpplacer.h

21 lines
418 B
C++

#ifndef __CLUMPPLACER_H__
#define __CLUMPPLACER_H__
#include "areaplacer.h"
#include "map.h"
class ClumpPlacer : public AreaPlacer
{
private:
float size;
float coherence;
float smoothness;
int x, y;
public:
virtual bool place(Map* m, Constraint* constr, std::vector<Point>& ret);
ClumpPlacer(float size, float coherence, float smoothness, int x, int y);
virtual ~ClumpPlacer();
};
#endif