summaryrefslogtreecommitdiff
path: root/app/src/main/java/space/jakob
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/space/jakob')
-rw-r--r--app/src/main/java/space/jakob/mines/GameActivity.kt12
-rw-r--r--app/src/main/java/space/jakob/mines/GameView.kt12
-rw-r--r--app/src/main/java/space/jakob/mines/Grid.kt12
-rw-r--r--app/src/main/java/space/jakob/mines/SetupActivity.kt12
4 files changed, 48 insertions, 0 deletions
diff --git a/app/src/main/java/space/jakob/mines/GameActivity.kt b/app/src/main/java/space/jakob/mines/GameActivity.kt
index ad09481..5ab1f4b 100644
--- a/app/src/main/java/space/jakob/mines/GameActivity.kt
+++ b/app/src/main/java/space/jakob/mines/GameActivity.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/>.
+
package space.jakob.mines
import android.support.v7.app.AppCompatActivity
diff --git a/app/src/main/java/space/jakob/mines/GameView.kt b/app/src/main/java/space/jakob/mines/GameView.kt
index eed0d9c..c7294df 100644
--- a/app/src/main/java/space/jakob/mines/GameView.kt
+++ b/app/src/main/java/space/jakob/mines/GameView.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/>.
+
package space.jakob.mines
import android.content.Context
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)
/**
diff --git a/app/src/main/java/space/jakob/mines/SetupActivity.kt b/app/src/main/java/space/jakob/mines/SetupActivity.kt
index e78322e..002b6e6 100644
--- a/app/src/main/java/space/jakob/mines/SetupActivity.kt
+++ b/app/src/main/java/space/jakob/mines/SetupActivity.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/>.
+
package space.jakob.mines
import android.support.v7.app.AppCompatActivity