2015-01-10 11:20:20 +01:00
|
|
|
package com.intellectualcrafters.plot.util;
|
|
|
|
|
2015-02-21 14:58:01 +01:00
|
|
|
import com.intellectualcrafters.plot.object.OfflinePlotPlayer;
|
2015-02-21 13:09:20 +01:00
|
|
|
import com.intellectualcrafters.plot.object.PlotPlayer;
|
|
|
|
|
2015-06-05 14:39:31 +02:00
|
|
|
public abstract class EconHandler {
|
|
|
|
public static EconHandler manager;
|
|
|
|
|
|
|
|
public abstract double getMoney(PlotPlayer player);
|
2015-06-09 20:54:00 +02:00
|
|
|
public abstract void withdrawMoney(PlotPlayer player, double amount);
|
|
|
|
public abstract void depositMoney(PlotPlayer player, double amount);
|
|
|
|
public abstract void depositMoney(OfflinePlotPlayer player, double amount);
|
2015-06-05 14:39:31 +02:00
|
|
|
public abstract void setPermission(PlotPlayer player, String perm, boolean value);
|
2015-01-10 11:20:20 +01:00
|
|
|
}
|