Back to project page dynamic-sound-android.
The source code is released under:
MIT License
If you think the Android project dynamic-sound-android 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.tackmobile.spacerocks.models; //from ww w. j av a 2s . co m import com.tackmobile.spacerocks.R; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Point; public class Missile { public Missile(Context context) { bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.player_missile); } public Bitmap bitmap; public Point point; }