summaryrefslogtreecommitdiff
path: root/app/src/main/java/space/jakob/mines/Grid.kt
diff options
context:
space:
mode:
authorJakob L. Kreuze <jakob@memeware.net>2018-12-15 09:43:11 -0500
committerJakob L. Kreuze <jakob@memeware.net>2018-12-15 09:43:11 -0500
commit91bc2599954fccf47ef020497f63865b990f418f (patch)
treeea86a61ea73102bfa01322139d9f65fa6b1a9e14 /app/src/main/java/space/jakob/mines/Grid.kt
parent15b4a3158bbb501aef542cba3bf1e429d2d594b1 (diff)
Add README and LICENSE
Diffstat (limited to 'app/src/main/java/space/jakob/mines/Grid.kt')
-rw-r--r--app/src/main/java/space/jakob/mines/Grid.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/java/space/jakob/mines/Grid.kt b/app/src/main/java/space/jakob/mines/Grid.kt
index a532632..7ba9442 100644
--- a/app/src/main/java/space/jakob/mines/Grid.kt
+++ b/app/src/main/java/space/jakob/mines/Grid.kt
@@ -1,3 +1,15 @@
+// Mines is free software: you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the Free Software
+// Foundation, either version 3 of the License, or (at your option) any later
+// version.
+
+// Mines is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along with
+// Mines. If not, see <https://www.gnu.org/licenses/>.
+
data class Tile(val adjacentMines: Int = 0, val mine: Boolean = false, val masked: Boolean = true)
/**