Back to project page LucyTheMoocher.
The source code is released under:
MIT License
If you think the Android project LucyTheMoocher 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.lucythemoocher.actors; /*from ww w . j ava 2 s. c o m*/ import java.util.Map; public class ActorsManager { private static Map<Integer, Actor> actors_; private static int nbActors = 0; public static void add(Actor a) { actors_.put(nbActors, a); a.setId(nbActors); nbActors++; } }