From 827ab83b88c9d71b45e4bce9f042fb09506792d8 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 7 Jul 2018 16:42:30 +0200 Subject: [PATCH] Refactor Directories Move Engine Files to /src Directory --- lib/{ => src}/App.dart | 4 ++-- lib/{ => src}/Cell.dart | 2 +- lib/{ => src}/Grid.dart | 4 ++-- lib/{ => src}/Rule.dart | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename lib/{ => src}/App.dart (94%) rename lib/{ => src}/Cell.dart (92%) rename lib/{ => src}/Grid.dart (97%) rename lib/{ => src}/Rule.dart (100%) diff --git a/lib/App.dart b/lib/src/App.dart similarity index 94% rename from lib/App.dart rename to lib/src/App.dart index f77ab15..aa53e04 100644 --- a/lib/App.dart +++ b/lib/src/App.dart @@ -1,7 +1,7 @@ import 'dart:html' as html; -import 'package:rules_of_living/Cell.dart'; -import 'package:rules_of_living/Grid.dart'; +import 'package:rules_of_living/src/Cell.dart'; +import 'package:rules_of_living/src/Grid.dart'; class App { // Elapsed Time Counter - useful for Safety Timeout diff --git a/lib/Cell.dart b/lib/src/Cell.dart similarity index 92% rename from lib/Cell.dart rename to lib/src/Cell.dart index d9344ff..3111708 100644 --- a/lib/Cell.dart +++ b/lib/src/Cell.dart @@ -1,4 +1,4 @@ -import 'package:rules_of_living/Rule.dart'; +import 'package:rules_of_living/src/Rule.dart'; class Cell { bool state; diff --git a/lib/Grid.dart b/lib/src/Grid.dart similarity index 97% rename from lib/Grid.dart rename to lib/src/Grid.dart index 52e0fea..154283e 100644 --- a/lib/Grid.dart +++ b/lib/src/Grid.dart @@ -1,7 +1,7 @@ import 'dart:html' as html; -import 'Cell.dart'; -import 'Rule.dart'; +import 'package:rules_of_living/src/Cell.dart'; +import 'package:rules_of_living/src/Rule.dart'; class Grid { final int w; diff --git a/lib/Rule.dart b/lib/src/Rule.dart similarity index 100% rename from lib/Rule.dart rename to lib/src/Rule.dart