From da08fb0420966e9f8327136a823f75fdcd5222a8 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Wed, 8 Feb 2017 17:20:16 +0100 Subject: [PATCH] Update to v0.2.1 --- android/build.gradle | 4 +- build.gradle | 2 +- .../lonamiwebs/klooni/GameSerializer.java | 51 ------------------- 3 files changed, 3 insertions(+), 54 deletions(-) delete mode 100644 core/src/io/github/lonamiwebs/klooni/GameSerializer.java diff --git a/android/build.gradle b/android/build.gradle index d6320c0..1fabac0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,8 +22,8 @@ android { minSdkVersion 8 targetSdkVersion 25 - versionCode 200 - versionName "0.2" + versionCode 210 + versionName "0.2.1" } } diff --git a/build.gradle b/build.gradle index af3e83a..91c28a7 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ allprojects { apply plugin: "eclipse" apply plugin: "idea" - version = '0.2' + version = '0.2.1' ext { appName = "1010! Klooni" gdxVersion = '1.9.5' diff --git a/core/src/io/github/lonamiwebs/klooni/GameSerializer.java b/core/src/io/github/lonamiwebs/klooni/GameSerializer.java deleted file mode 100644 index 1d64aa9..0000000 --- a/core/src/io/github/lonamiwebs/klooni/GameSerializer.java +++ /dev/null @@ -1,51 +0,0 @@ -package io.github.lonamiwebs.klooni; - -import java.io.DataOutputStream; -import java.io.IOException; -import java.io.OutputStream; - -public class GameSerializer { - // integer version - // integer game mode: - // integer current/high score - // - // TODO: Scorer specific - // Board on row major order: - // true color if cell is filled - // false if cell is empty - // 3 held pieces IDs (-1 if null) - - // Modify this if the saving scheme changes - private static final int VERSION = 1; - - public static void serialize(final int /*GameScreen*/ game, final OutputStream output) - throws IOException { - DataOutputStream out = new DataOutputStream(output); - try { - out.writeInt(VERSION); - } finally { - out.close(); - } - - // todo uhm maybe make the classes serializable? like telethon, kinda, idk, bye. - - - /* - DataInputStream d = new DataInputStream(new FileInputStream("test.txt")); - - DataOutputStream out = new DataOutputStream(new FileOutputStream("test1.txt")); - - String count; - d.readFully(); - while((count = d.readLine()) != null){ - String u = count.toUpperCase(); - System.out.println(u); - out.writeBytes(u + " ,"); - } - d.close(); - out.close(); - */ - - - } -}