summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/util
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-22 07:29:36 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-22 07:29:36 +0100
commit5a54f03df8fcd44824bd2b61885f9898b6a74d2a (patch)
tree9c87b6e2b0c1f1c1144538f990038e4bfc3a787a /core/src/ch/asynk/rustanddust/util
parent69baa7467d4d0edbf511097ee7a84abc09e63f81 (diff)
downloadRustAndDust-5a54f03df8fcd44824bd2b61885f9898b6a74d2a.zip
RustAndDust-5a54f03df8fcd44824bd2b61885f9898b6a74d2a.tar.gz
GameRecord: add static GameRecord get(int)
Diffstat (limited to 'core/src/ch/asynk/rustanddust/util')
-rw-r--r--core/src/ch/asynk/rustanddust/util/GameRecord.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/util/GameRecord.java b/core/src/ch/asynk/rustanddust/util/GameRecord.java
index bd1b012..c1f0edb 100644
--- a/core/src/ch/asynk/rustanddust/util/GameRecord.java
+++ b/core/src/ch/asynk/rustanddust/util/GameRecord.java
@@ -45,6 +45,11 @@ public class GameRecord implements List.ListElement, Disposable, Pool.Poolable
return r;
}
+ public static GameRecord get(int idx)
+ {
+ return (GameRecord) list.get(idx);
+ }
+
public static GameRecord remove(int idx)
{
return (GameRecord) list.remove(idx);