diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-07 23:11:21 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-07 23:11:21 (GMT) |
| commit | c88079d084f2f3b7ec891da22f8c497cd2652853 (patch) | |
| tree | ba24b70fb653b24a23e51c18a1d8d876233f71a5 /src/simulation/Simulation.h | |
| parent | bbfbb81086897d50b67bf1494ac150eb607add72 (diff) | |
| download | powder-c88079d084f2f3b7ec891da22f8c497cd2652853.zip powder-c88079d084f2f3b7ec891da22f8c497cd2652853.tar.gz | |
Element sampling HUD thingy (No very good with MVC)
Diffstat (limited to 'src/simulation/Simulation.h')
| -rw-r--r-- | src/simulation/Simulation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simulation/Simulation.h b/src/simulation/Simulation.h index dd86953..3139b77 100644 --- a/src/simulation/Simulation.h +++ b/src/simulation/Simulation.h @@ -210,6 +210,7 @@ public: int Load(int x, int y, unsigned char * data, int dataLength); unsigned char * Save(int & dataLength); unsigned char * Save(int x1, int y1, int x2, int y2, int & dataLength); + Particle Get(int x, int y); inline int is_blocking(int t, int x, int y); inline int is_boundary(int pt, int x, int y); inline int find_next_boundary(int pt, int *x, int *y, int dm, int *em); |
