Pictureクラスの全ソースコードです。
package <パッケージ名>; import <パッケージ名>.Texture; import java.io.InputStream; import android.graphics.Bitmap; import android.graphics.BitmapFactory; // 画像 public class Picture extends Texture { // コンストラクタ public Picture() { super(); } // 読み込み public boolean Load( DrawDevice drawDevice, InputStream inputStream ) { if( IsLoaded()) return false; Bitmap bmp = BitmapFactory.decodeStream( inputStream ); return LoadImage( drawDevice, bmp ); } }