blob: ed4cbcd5eccf753b6fc7369a1b7e4c076ecfde28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef SIMTOOL_H
#define SIMTOOL_H
#include "simulation/Simulation.h"
#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) {}
};
#endif
|