- package Draw;
- import javax.microedition.lcdui.*;
- import javax.microedition.lcdui.game.*;
- import GameDisplay.*;
- public class BackSprite extends Sprite {
- private boolean show=false;
- public BackSprite(Image img,int w,int h) {
- super(img,w,h);
- }
- public void Move(){
- if(!Control.game.isPause)
- this.nextFrame();
- }
- public void setShow(boolean show)
- {
- this.show = show;
- }
- public boolean isShow() {
- return show;
- }
- }