diff --git a/lib/src/App.dart b/lib/src/App.dart index 140e9a3..21847ac 100644 --- a/lib/src/App.dart +++ b/lib/src/App.dart @@ -28,11 +28,14 @@ class App { } void reset() { -// grid = new Grid(100, 100); -// running = false; grid.reset(); } + void clear() { + grid = new Grid(100, 100); + running = false; + } + void process(num now) { _drawLag += _elapsed.elapsedMilliseconds; _updateLag += _elapsed.elapsedMilliseconds;