cellular-automata/lib/service/engine_service.dart

12 lines
226 B
Dart
Raw Normal View History

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);
}