diff --git a/lib/src/Simulation.dart b/lib/src/Simulation.dart index 8261071..7f221ba 100644 --- a/lib/src/Simulation.dart +++ b/lib/src/Simulation.dart @@ -20,6 +20,9 @@ class Simulation { int _dispersal; CellPattern _pattern; + int get w => map.width; + int get h => map.height; + Simulation(int w, int h) : this.map = new Grid.fill(w, h, _getGOLCell()) { print("Grid creation finished"); }