diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-22 07:29:36 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-22 07:29:36 +0100 |
commit | 5a54f03df8fcd44824bd2b61885f9898b6a74d2a (patch) | |
tree | 9c87b6e2b0c1f1c1144538f990038e4bfc3a787a /core/src | |
parent | 69baa7467d4d0edbf511097ee7a84abc09e63f81 (diff) | |
download | RustAndDust-5a54f03df8fcd44824bd2b61885f9898b6a74d2a.zip RustAndDust-5a54f03df8fcd44824bd2b61885f9898b6a74d2a.tar.gz |
GameRecord: add static GameRecord get(int)
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/util/GameRecord.java | 5 |
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); |