OSDN Git Service

removed all getters from MapProperties :D
authorMario Zechner <contact@badlogicgames.com>
Wed, 20 Feb 2013 01:20:21 +0000 (02:20 +0100)
committerMario Zechner <contact@badlogicgames.com>
Wed, 20 Feb 2013 01:20:21 +0000 (02:20 +0100)
gdx/src/com/badlogic/gdx/maps/MapProperties.java
tests/gdx-tests-lwjgl/src/com/badlogic/gdx/tests/lwjgl/LwjglDebugStarter.java

index d3c7cf7..17c883d 100644 (file)
@@ -349,79 +349,7 @@ public class MapProperties {
         * @param key property name
         * @param value value to be inserted or modified (if it already existed)
         */
-       public void put(String key, Boolean value) {
-               properties.put(key, value);
-       }
-       
-       /**
-        * @param key property name
-        * @param value value to be inserted or modified (if it already existed)
-        */
-       public void put(String key, Byte value) {
-               properties.put(key, value);
-       }
-       
-       /**
-        * @param key property name
-        * @param value value to be inserted or modified (if it already existed)
-        */
-       public void put(String key, Double value) {
-               properties.put(key, value);
-       }
-       
-       /**
-        * @param key property name
-        * @param value value to be inserted or modified (if it already existed)
-        */
-       public void put(String key, Float value) {
-               properties.put(key, value);
-       }
-       
-       /**
-        * @param key property name
-        * @param value value to be inserted or modified (if it already existed)
-        */
-       public void put(String key, Integer value) {
-               properties.put(key, value);
-       }
-       
-       /**
-        * @param key property name
-        * @param value value to be inserted or modified (if it already existed)
-        */
-       public void put(String key, Long value) {
-               properties.put(key, value);
-       }
-       
-       /**
-        * @param key property name
-        * @param value value to be inserted or modified (if it already existed)
-        */
-       public void put(String key, Short value) {
-               properties.put(key, value);
-       }
-       
-       /**
-        * @param key property name
-        * @param value value to be inserted or modified (if it already existed)
-        */
-       public void put(String key, String value) {
-               properties.put(key, value);
-       }
-       
-       /**
-        * @param key property name
-        * @param value value to be inserted or modified (if it already existed)
-        */
-       public void put(String key, Vector2 value) {
-               properties.put(key, value);
-       }
-       
-       /**
-        * @param key property name
-        * @param value value to be inserted or modified (if it already existed)
-        */
-       public void put(String key, Color value) {
+       public void put(String key, Object value) {
                properties.put(key, value);
        }
        
index de0026e..20d85a4 100644 (file)
@@ -19,6 +19,7 @@ package com.badlogic.gdx.tests.lwjgl;
 import com.badlogic.gdx.backends.lwjgl.LwjglApplication;\r
 import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;\r
 import com.badlogic.gdx.tests.GleedTest;\r
+import com.badlogic.gdx.tests.InputTest;\r
 import com.badlogic.gdx.tests.TideMapAssetManagerTest;\r
 import com.badlogic.gdx.tests.TideMapDirectLoaderTest;\r
 import com.badlogic.gdx.tests.TiledMapAssetManagerTest;\r
@@ -36,7 +37,7 @@ public class LwjglDebugStarter {
                new SharedLibraryLoader("../../extensions/gdx-controllers/gdx-controllers-desktop/libs/gdx-controllers-desktop-natives.jar").load("gdx-controllers-desktop");\r
                new SharedLibraryLoader("../../gdx/libs/gdx-natives.jar").load("gdx");\r
 \r
-               GdxTest test = new TideMapDirectLoaderTest();\r
+               GdxTest test = new InputTest();\r
                LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();\r
                config.useGL20 = test.needsGL20();\r
                new LwjglApplication(test, config);\r