Back to project page RPGWorld.
The source code is released under:
MIT License
If you think the Android project RPGWorld 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.nokarateclass.rpgworld.characters; // w ww .ja va 2s .com import android.content.Context; import android.graphics.drawable.Drawable; import com.nokarateclass.rpgworld.R; import com.nokarateclass.rpgworld.editor.CharacterFactory; public class TreeCharacter extends CharacterActor { public static final int mDefaultId = CharacterFactory.TREE; /** * */ private static final long serialVersionUID = 7424678736661979178L; public TreeCharacter(Context context){ super(context.getResources().getDrawable(R.drawable.tree), mDefaultId); } public TreeCharacter(Drawable sprite){ super(sprite, mDefaultId); } }