summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/util
diff options
context:
space:
mode:
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);