Back to project page acceptableLosses.
The source code is released under:
MIT License
If you think the Android project acceptableLosses 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 acceptableLosses.components; /*from w w w .j a v a 2 s . c o m*/ import com.artemis.PooledComponent; /** * Stores the Health of someone */ public class Health extends PooledComponent { public int current = 1; public int max = 1; @Override protected void reset() { current = 1; max = 1; } public Health set(int current, int max) { this.current = current; this.max = max; return this; } }