cellular-automata/lib/service/engine_service.dart

11 lines
226 B
Dart

import 'dart:html' as html;
import 'package:rules_of_living/src/Engine.dart';
class EngineService {
Engine _engine;
Engine get engine => _engine;
void create(html.CanvasElement canvas) => _engine = Engine(canvas);
}