Class TSimulation (unit SandSim) |
TThread
The simulation logic (based on the TThread class
Constructors |
-------------------- TSimulation ---------------------
Functions |
This method is a wrapper for the method DoDrawCell.
Properties |
Events |
Variables |
Constructors |
Are we in trace mode?
-------------------- TSimulation ---------------------
Functions |
FreeOnTerminate := True;
Log1.Log;
Shows statistics on the sandpile
Updates a cell in the grid
Queue of points that have toppled
This method is a wrapper for the method DoDrawCell. It ensures synchronization with the PileForm TDrawGrid VCL component.
This method is a wrapper for the method DoShowStatistics. It ensures synchronization with the MainForm TLabel VCL components.
Properties |
Events |
Variables |
# rounds so far
Used when updating a cell