Class ClickerManager
java.lang.Object
com.zetaplugins.cookieclickerz.util.ClickerManager
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClicker(String clicker, String name) Adds a clicker to the clicker.ymlvoidaddClicker(Location clicker, String name) Adds a clicker to the clicker.ymlgetClicker(String name) Gets a clickerGets a list of all clicker namesgetClickerLocation(String name) Gets the location of a clickerGets the location of a clickerGets a list of all clickersbooleanChecks if a clicker existsbooleanChecks if a clicker existsvoidremoveClicker(String name) Removes a clicker from the clicker.yml
-
Constructor Details
-
ClickerManager
-
-
Method Details
-
addClicker
Adds a clicker to the clicker.yml- Parameters:
clicker- The location of the clickername- The name of the clicker
-
addClicker
Adds a clicker to the clicker.yml- Parameters:
clicker- The location of the clickername- The name of the clicker
-
isClicker
Checks if a clicker exists- Parameters:
clicker- The name of the clicker
-
isClicker
Checks if a clicker exists- Parameters:
location- The location of the clicker
-
removeClicker
Removes a clicker from the clicker.yml- Parameters:
name- The name of the clicker
-
getClicker
Gets a clicker- Parameters:
name- The name of the clicker- Returns:
- The clicker
-
getClickers
Gets a list of all clickers- Returns:
- A list of all clickers
-
getClickerKeys
Gets a list of all clicker names- Returns:
- A list of all clicker names
-
getClickerLocationAsString
Gets the location of a clicker- Parameters:
name- The name of the clicker- Returns:
- The location of the clicker
-
getClickerLocation
Gets the location of a clicker- Parameters:
name- The name of the clicker- Returns:
- The location of the clicker
-