diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-22 05:34:52 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-22 05:34:52 +0100 |
commit | 81c12a6760699dd07612ab771d6e3698c447e9d5 (patch) | |
tree | e897292343eb202eee231d15236e14e7b478f9bd /core/src/ch/asynk/rustanddust | |
parent | afa1299370ae0ba2d058bc3f6b35fce5b8514dbc (diff) | |
download | RustAndDust-81c12a6760699dd07612ab771d6e3698c447e9d5.zip RustAndDust-81c12a6760699dd07612ab771d6e3698c447e9d5.tar.gz |
GameRecord: add remove(int)
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-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 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) |