Rename App to Engine
This commit is contained in:
parent
1208583c7f
commit
e18de1d84c
2 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@ import 'dart:html' as html;
|
|||
|
||||
import 'package:rules_of_living/src/Grid.dart';
|
||||
|
||||
class App {
|
||||
class Engine {
|
||||
// Elapsed Time Counter - useful for Safety Timeout
|
||||
Stopwatch _elapsed = new Stopwatch();
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ class App {
|
|||
Grid grid = new Grid(100, 100);
|
||||
bool running = false;
|
||||
|
||||
App(this.canvas) {
|
||||
Engine(this.canvas) {
|
||||
_elapsed.start();
|
||||
grid.addPattern(amount: 15, dispersal: 5);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue