From 0b5b1de4544a46ccfc8ab40ae188a3ae7c403e5c Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 21 Oct 2018 14:06:36 +0200 Subject: [PATCH] Remove Duplicate Import --- lib/src/Simulation.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/src/Simulation.dart b/lib/src/Simulation.dart index 79cc019..f6d7a66 100644 --- a/lib/src/Simulation.dart +++ b/lib/src/Simulation.dart @@ -1,6 +1,5 @@ import 'dart:html' as html; import 'dart:math' as math; -import 'dart:math'; import 'package:rules_of_living/src/Grid.dart'; import 'package:rules_of_living/src/rules/GameOfLife.dart'; @@ -20,8 +19,8 @@ class Simulation { int _amount; int _dispersal; - Point get gridSize => Point(map.width, map.height); - void set gridSize(Point value) { + math.Point get gridSize => math.Point(map.width, map.height); + void set gridSize(math.Point value) { if (value.x <= 0 || value.y <= 0) throw ArgumentError("grid size must not be smaller than 1"); map = Grid(value.x, value.y);