This commit is contained in:
md_5 2016-04-18 17:46:38 +10:00
parent 55e64a09b9
commit 9de990744d

View File

@ -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<BoostedGame> _boostQueue = new ArrayList<>();
public BoosterData(String _game)
{
this._game = _game;
}
public List<BoostedGame> 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;
}
}
}