⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sprite.js

📁 java 写的一个新闻发布系统
💻 JS
字号:
/*   DynAPI Distribution   Sprite Class   Modified: 2000.11.28   The DynAPI Distribution is distributed under the terms of the GNU LGPL license.*/// this is currently not really needed// what was initally going to be Sprite has become Thread, PathAnim, and DynImagefunction Sprite(img) {	this.DynImage = DynImage;	this.DynImage(img);	this.thread = new Thread(this);	this.thread._key = Thread.setUniqueKey(this);	this.thread.run = this.run;};Sprite.prototype = new DynImage;// Thread methodsSprite.prototype.sleep = function (ms) {	this.thread.sleep(ms);};Sprite.prototype.setFPS = function (fps) {	this.thread.setFPS(fps);};Sprite.prototype.cancel = function () {	this.thread.cancelThread();};Sprite.prototype.start = function () {	this.thread.start();};Sprite.prototype.stop = function () {	this.thread.stop();};Sprite.prototype.run = function () {};	// overwrite run

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -