Back to project page Gamework.
The source code is released under:
Apache License
If you think the Android project Gamework 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 cz.robyer.gamework.scenario; /*ww w . j a va 2s . c om*/ /** * Base identificable object. * @author Robert P?sel */ public abstract class IdentificableObject extends BaseObject { protected final String id; protected final String TAG; /** * Class constructor. * @param id - identificator of object */ public IdentificableObject(String id) { super(); this.id = id; this.TAG = String.format("%s (%s)", getClass().getSimpleName(), id); } /** * Returns identificator of object. * @return identificator */ public String getId() { return id; } }