@@ -0,0 +1,973 @@
+package com.example.crystalgame.library.data;%0A%0Aimport java.io.Serializable;%0A%0A/**%0A * An object representing some general information%0A * @author Balazs Pete, Allen Thomas Varghese%0A *%0A */%0Apublic class Information implements HasID %7B%0A%0A%09private static transient final String PREKEY = %22com.example.crystalgame.library.data.information.%22;%0A%09%0A%09private String key;%0A%09private Serializable value;%0A%09%0A%09/**%0A%09 * Create an information%0A%09 * @param key The key%0A%09 * @param value The value%0A%09 */%0A%09public Information(String key, Serializable value) %7B%0A%09%09this.key = PREKEY + key;%0A%09%09this.value = value;%0A%09%7D%0A%09%0A%09@Override%0A%09public String getID() %7B%0A%09%09return key;%0A%09%7D%0A%0A%09/**%0A%09 * Get the value of the information%0A%09 * @return The information%0A%09 */%0A%09public Serializable getValue() %7B%0A%09%09return value;%0A%09%7D%0A%09%0A%09/*******************%0A%09 * PREDEFINED KEYS%0A%09 *******************/%0A%09%0A%09public static transient final String%0A%09%09GAME_NAME = %22game_name%22,%0A%09%09GROUP_NAME = %22group_name%22,%0A%09%09GROUP_MAX_PLAYERS = %22group_max_players%22;%0A%09%0A%09%0A%7D%0A

Add information concept