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; //from ww w . j a v a 2 s . c om import android.content.Context; import android.graphics.drawable.Drawable; import com.nokarateclass.rpgworld.R; import com.nokarateclass.rpgworld.editor.CharacterFactory; public class RockCharacter extends CharacterActor { public static final int mDefaultId = CharacterFactory.ROCK; /** * */ private static final long serialVersionUID = -8773857871079596112L; public RockCharacter(Context context){ super(context.getResources().getDrawable(R.drawable.rock), mDefaultId); } public RockCharacter(Drawable sprite){ super(sprite, mDefaultId); } }