From 4f63947ab9a999253119a8943651197863d821c9 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 18 Oct 2018 11:19:04 +0200 Subject: [PATCH] Delete unused Cell and Rule Classes They were used under the old system of every gridspace being its own cell data structure with its own rules to observe. Replaced by the RuleSet class. Cell has vanished in favor of simple boolean values filling the grid. --- lib/src/Cell.dart | 6 ------ lib/src/Rule.dart | 5 ----- 2 files changed, 11 deletions(-) delete mode 100644 lib/src/Cell.dart delete mode 100644 lib/src/Rule.dart diff --git a/lib/src/Cell.dart b/lib/src/Cell.dart deleted file mode 100644 index 4e12f04..0000000 --- a/lib/src/Cell.dart +++ /dev/null @@ -1,6 +0,0 @@ -import 'package:rules_of_living/src/Rule.dart'; - -class Cell { - /// For determining if render updates are necessary in [Grid].render() function - bool dirty = false; -} diff --git a/lib/src/Rule.dart b/lib/src/Rule.dart deleted file mode 100644 index 723b4d0..0000000 --- a/lib/src/Rule.dart +++ /dev/null @@ -1,5 +0,0 @@ -class Rule { - final Function evaluate; - - Rule(this.evaluate); -}