compb-dla-model/mainDLA.cpp

22 lines
382 B
C++

#include <iostream>
#include "DLASystem.h"
int main(int argc, char **argv) {
// create the system
DLASystem* sys = new DLASystem();
// this is the seed for the random numbers
int seed = 6;
std::cout << "Setting seed " << seed << endl;
sys->setSeed(seed);
sys->running = true;
while (sys->running) {
sys->update();
}
return 0;
}