boolean setPlaneBitmap(int index, int animeNo, int imgId) { if (bitmapPack == null) { return false; } try { STGPlane plane = planes.get(index); if (plane == null) { plane = new STGPlane(); this.planes.put(index, plane); } plane.animeNo = animeNo; plane.rect = bitmapPack.getImageRect(imgId); plane.images.put(plane.animeNo, imgId); plane.planeMode = GRP_MODE; plane.view = true; plane.str = null; plane.font = null; plane.color = null; plane.draw = null; } catch (Exception e) { e.printStackTrace(); } return true; }