2012-05-12 12:11:20 -05:00
|
|
|
#ifndef SIMTOOL_H
|
|
|
|
#define SIMTOOL_H
|
|
|
|
|
|
|
|
#include "simulation/Simulation.h"
|
2012-07-06 10:06:26 -05:00
|
|
|
#include "graphics/Renderer.h"
|
2012-05-12 12:11:20 -05:00
|
|
|
#include "simulation/Elements.h"
|
|
|
|
|
|
|
|
class Simulation;
|
|
|
|
struct Particle;
|
|
|
|
class SimTool
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
char *Identifier;
|
|
|
|
char *Name;
|
|
|
|
pixel Colour;
|
|
|
|
char *Description;
|
|
|
|
|
|
|
|
SimTool();
|
|
|
|
virtual ~SimTool() {}
|
2012-09-03 19:09:53 -05:00
|
|
|
virtual int Perform(Simulation * sim, Particle * cpart, int x, int y, float strength) { return 0; }
|
2012-05-12 12:11:20 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|