public class MoneyFormattableObject extends java.lang.Object implements FormattableObject
| Constructor and Description |
|---|
MoneyFormattableObject(int am) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmount() |
void |
setAmount(int amount) |
java.lang.String |
toFormattedString(ResponseInfo info,
java.lang.String myName,
FileConfiguration config,
Database db)
Formats an object using the data given
|
public int getAmount()
public void setAmount(int amount)
public java.lang.String toFormattedString(ResponseInfo info, java.lang.String myName, FileConfiguration config, Database db)
FormattableObjecttoFormattedString in interface FormattableObjectinfo - the info this object belongs tomyName - the name of the key of this objectconfig - the current configdb - the db