📄 waitevent$task.java
字号:
/*
* WaitEvent$Task.java
*
* Created on 2006年5月5日, 上午11:53
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package DogPet;
import java.util.TimerTask;
import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Image;
// Referenced classes of package com.webineti:
// WaitEvent, GameView
class WaitEvent$Task extends TimerTask
{
int swapped;
GameView view;
Image[] wait ;
public final void run()
{
if(GameView.events == -1)
{
swapped = swapped + 1;
if(swapped > wait.length - 1)
swapped = 0;
view.repaint();
}
}
WaitEvent$Task()
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -