public class ChargeStatus extends Object
CEconomy#canCharge| Modifier | Constructor and Description |
|---|---|
protected |
ChargeStatus(boolean status,
double amount)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAmount()
The actual amount being charged, including any modifications such as
taxes.
|
boolean |
getStatus()
Returns whether or not the player is capable of paying the charge
|
protected ChargeStatus(boolean status,
double amount)
status - true if the charge can be madeamount - The actual amount being charged (accounts for taxes, etc)public boolean getStatus()
true if the player can pay the chargepublic double getAmount()
Copyright © 2015. All rights reserved.