From 81c12a6760699dd07612ab771d6e3698c447e9d5 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher 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(+) (limited to 'core/src/ch') diff --git a/core/src/ch/asynk/rustanddust/util/GameRecord.java b/core/src/ch/asynk/rustanddust/util/GameRecord.java index 82aa9b46..bd1b0124 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.2.3