30 lines
691 B
Java
30 lines
691 B
Java
package nautilus.game.arcade.player;
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
import mineplex.core.customdata.CustomDataManager;
|
|
import mineplex.core.customdata.MineplexPlayer;
|
|
import nautilus.game.arcade.ArcadeManager;
|
|
|
|
/**
|
|
* Created by William (WilliamTiger).
|
|
* 16/12/15
|
|
*/
|
|
public class ArcadePlayer extends MineplexPlayer
|
|
{
|
|
private ArcadeManager _arcadeManager;
|
|
|
|
public ArcadePlayer(Player player, CustomDataManager customDataManager, ArcadeManager arcadeManager)
|
|
{
|
|
super(player, customDataManager);
|
|
|
|
_arcadeManager = arcadeManager;
|
|
}
|
|
|
|
@Override
|
|
public String getKeyPrefix()
|
|
{
|
|
return "arcade." + _arcadeManager.GetGame().GetName().toLowerCase().replaceAll(" ", ".") + ".";
|
|
}
|
|
}
|