webiscreen$task.java
来自「关于j2me的宠物游戏!!!!!!!!!!! 希望打架提出意见」· Java 代码 · 共 41 行
JAVA
41 行
/*
* WebiScreen$Task.java
*
* Created on 2006年5月5日, 下午12:00
*
* 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.Image;
// Referenced classes of package com.webineti:
// WebiScreen
class WebiScreen$Task extends TimerTask
{
int now_times, swapped;
GameView view;
Image[] image ;
boolean timers;
public final void run()
{
if(timers)
{
now_times = now_times + 1;
swapped = swapped + 1;
if(swapped > image.length - 1)
swapped = 0;
//repaint();
}
}
WebiScreen$Task()
{
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?