+ this.start = function() {
+ this.tickID = setInterval(function(){tick(automaton)}, 100);
+ this.running = 1;
+ }
+
+ this.stop = function() {
+ clearInterval(this.tickID);
+ this.running = 0;
+ }
+
+ this.toggle = function() {
+ this.running ? this.stop() : this.start();
+ }
+