Back to project page LoggerBill.
The source code is released under:
(C) Copyright 2014 MapleScot Development This project licensed under a Creative Commons 3.0 by attribution licence https://creativecommons.org/licenses/by/3.0/ Unless required by applicable law or ag...
If you think the Android project LoggerBill listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.maplescot.loggerbill.gpg; /*w w w .java2 s . co m*/ /** * Created by james on 22/09/14. */ public class LoggerBillAchievement extends Achievement { @Override public boolean test(int chunk_counter, float cps, long totalPlays, long totalChunks, long bestChunks, float bestCPS) { float testValue = 0f; if (getType().equals("chunks")) testValue = totalChunks; if (getType().equals("cps")) testValue = cps; return doTest(testValue); } }