?? floorstick.java
字號:
import javax.microedition.lcdui.*;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
*/
public class floorStick extends floorSprite {
public floorStick(Image img , int frameWidth, int frameHeight,
int scnWidth, int scnHeight) {
super(img, frameWidth, frameHeight, scnWidth, scnHeight);
}
void doOn(playerSprite tempPlayer) {
/**@todo Implement this floor abstract method*/
tempPlayer.move(0, FLOOR_MOVE*-1);
if (isDoLive == false) {
tempPlayer.decreaseLive();
tempPlayer.iStick = 1;
isDoLive = true;
}
}
void autoAction() {
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -