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