2015-08-21 15:10:08 +02:00
|
|
|
package com.gamingmesh.jobs.container;
|
|
|
|
|
|
|
|
public final class TopList {
|
2015-09-17 17:28:23 +02:00
|
|
|
private int level;
|
|
|
|
private int exp;
|
2017-01-14 11:55:59 +01:00
|
|
|
private PlayerInfo info;
|
2015-08-21 15:10:08 +02:00
|
|
|
|
2017-01-14 11:55:59 +01:00
|
|
|
public TopList(PlayerInfo info, int level, int exp) {
|
|
|
|
this.info = info;
|
2015-09-17 17:28:23 +02:00
|
|
|
this.level = level;
|
|
|
|
this.exp = exp;
|
|
|
|
}
|
2015-08-21 15:10:08 +02:00
|
|
|
|
2015-09-17 17:28:23 +02:00
|
|
|
public String getPlayerName() {
|
2017-01-14 11:55:59 +01:00
|
|
|
return this.info.getName();
|
2015-09-17 17:28:23 +02:00
|
|
|
}
|
2015-08-21 15:10:08 +02:00
|
|
|
|
2015-09-17 17:28:23 +02:00
|
|
|
public int getLevel() {
|
|
|
|
return this.level;
|
|
|
|
}
|
2015-08-21 15:10:08 +02:00
|
|
|
|
2015-09-17 17:28:23 +02:00
|
|
|
public int getExp() {
|
|
|
|
return this.exp;
|
|
|
|
}
|
2015-08-21 15:10:08 +02:00
|
|
|
}
|