From 5a54f03df8fcd44824bd2b61885f9898b6a74d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 22 Feb 2016 07:29:36 +0100 Subject: GameRecord: add static GameRecord get(int) --- core/src/ch/asynk/rustanddust/util/GameRecord.java | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit v1.1-2-g2b99