me.mjolnir.mineconomy
Class ExteriorPlugin

java.lang.Object
  extended by me.mjolnir.mineconomy.ExteriorPlugin

public class ExteriorPlugin
extends java.lang.Object

Handles exterior classes reading/writing account values.

Author:
MjolnirCommando

Constructor Summary
ExteriorPlugin()
          Creates new ExteriorPluginTranslator object
 
Method Summary
 double getBalance(org.bukkit.entity.Player p)
          Returns the balance of the specified player.
 boolean hasAccount(org.bukkit.entity.Player p)
          Returns true if specified player has an account.
 void setBalance(org.bukkit.entity.Player p, double newBalance)
          Sets the balance of the specified player.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExteriorPlugin

public ExteriorPlugin()
Creates new ExteriorPluginTranslator object

Method Detail

getBalance

public double getBalance(org.bukkit.entity.Player p)
Returns the balance of the specified player.

Parameters:
p -
Returns:
double

setBalance

public void setBalance(org.bukkit.entity.Player p,
                       double newBalance)
Sets the balance of the specified player.

Parameters:
p -
newBalance -

hasAccount

public boolean hasAccount(org.bukkit.entity.Player p)
Returns true if specified player has an account.

Parameters:
p -
Returns:
true/false