Package frc.lib5k.utils
Class ObjectCounter
- java.lang.Object
-
- frc.lib5k.utils.ObjectCounter
-
public class ObjectCounter extends java.lang.Object
A helper for counting the number of an object that exists
-
-
Constructor Summary
Constructors Constructor Description ObjectCounter()
ObjectCounter(int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNewID()
Every time this is called, it will return the next int in the counter.
-