some would say: "hey this is a very basic class"
yeah well it's how and where you use it.
besides things were always meant to be simple. otherwise you are wasting your time.
@fukurou
translate it to swift, I'll handle the rest
we have some big coding projects coming up. the LG has a path in which it leads me.
yeah well it's how and where you use it.
besides things were always meant to be simple. otherwise you are wasting your time.
@fukurou
translate it to swift, I'll handle the rest
we have some big coding projects coming up. the LG has a path in which it leads me.
Java:
public class AXGamification {
// this auxiliary module can add fun to tasks, skills, and abilities simply by
// tracking their usage, and maximum use count.
private int counter = 0;
private int max = 0;
public int getCounter() {
return counter;
}
public int getMax() {
return max;
}
public void resetCount(){
counter = 0;
}
public void resetAll(){
max = 0;
counter = 0;
}
public void increament(){
counter++;
if (counter > max) {
max = counter;
}
}
}