From 81c12a6760699dd07612ab771d6e3698c447e9d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 22 Feb 2016 05:34:52 +0100 Subject: GameRecord: add remove(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 82aa9b4..bd1b012 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 remove(int idx) + { + return (GameRecord) list.remove(idx); + } + public static void clearList() { for(List.ListElement r : list) -- cgit v1.1-2-g2b99