The-Powder-Toy/src/simulation/tools/SimTool.h

23 lines
411 B
C
Raw Normal View History

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