org.distributeme.goldminer.GoldMinerService Maven / Gradle / Ivy
package org.distributeme.goldminer;
import net.anotheria.anoprise.metafactory.Service;
import org.distributeme.annotation.DistributeMe;
@DistributeMe(asynchSupport=true, asynchCallTimeout=2500)
public interface GoldMinerService extends Service{
/**
* Searches a random location for gold. Can last up to 10 seconds.
* Returns if anything was found.
* @return
*/
boolean searchForGold();
/**
* Washes gold for a given duration. Returns the amount of washed clumps.
* @param duration
* @return
*/
int washGold(long duration);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy