RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.store.currency.Currency Interface Reference
Inheritance diagram for com.osroyale.content.store.currency.Currency:

Public Member Functions

boolean tangible ()
boolean takeCurrency (Player player, int amount)
void recieveCurrency (Player player, int amount)
int currencyAmount (Player player)
boolean canRecieveCurrency (Player player)
String toString ()

Detailed Description

The parent class of all currencies that provides basic functionality for any general currency. This can be used to register tangible, and even intangible currencies.

Author
lare96 http://github.com/lare96

Definition at line 11 of file Currency.java.

Member Function Documentation

◆ canRecieveCurrency()

◆ currencyAmount()

◆ recieveCurrency()

◆ takeCurrency()

◆ tangible()

◆ toString()

String com.osroyale.content.store.currency.Currency.toString ( )

Gets the name of the currency.

Implemented in com.osroyale.content.store.currency.impl.ItemCurrency.


The documentation for this interface was generated from the following file: