From 9de990744dda03a7f93ddf0957c53b347da4233c Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 18 Apr 2016 17:46:38 +1000 Subject: [PATCH] Stage --- .../game/arcade/game/BoosterData.java | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/BoosterData.java diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/BoosterData.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/BoosterData.java new file mode 100644 index 000000000..f16246cfe --- /dev/null +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/BoosterData.java @@ -0,0 +1,51 @@ +package nautilus.game.arcade.game; + +import java.util.ArrayList; +import java.util.List; +import mineplex.serverdata.data.Data; + +public class BoosterData implements Data +{ + + private String _game; + private List _boostQueue = new ArrayList<>(); + + public BoosterData(String _game) + { + this._game = _game; + } + + public List getBoostQueue() + { + return _boostQueue; + } + + @Override + public String getDataId() + { + return _game; + } + + public static class BoostedGame + { + + private String _server; + private String _player; + + public BoostedGame(String _server, String _player) + { + this._server = _server; + this._player = _player; + } + + public String getServer() + { + return _server; + } + + public String getPlayer() + { + return _player; + } + } +}