maps.java

来自「经典FC游戏《超惑星战记》的J2ME版本!!功能基本上都实现了」· Java 代码 · 共 44 行

JAVA
44 行
字号
/**
 * <p>Title: Transpanzer</p>
 * <p>Description:
 * You cannot remove this copyright and notice.
 * You cannot use this file any part without the express permission of the author.
 * All Rights Reserved</p>
 * @author Jjyo
 * @email jjyo@163.com
 * @version 1.0.0
 */

public class Maps {

	public static char mapArray[][];
	public static int x;
	public static int y;
	public static int w;
	public static int h;
	public static int tileSize;
	public final ImageManage imageManage;
	public String mapId;
	
	public Maps(ImageManage im,char mapArray[][],int w,int h,int tileSize,String mapId){
		this.imageManage=im;
		Maps.mapArray=mapArray ;
		Maps.x=0;
		Maps.y=0;
		Maps.w=w;
		Maps.h=h;
		Maps.tileSize=tileSize;
		this.mapId=mapId;
	}
	
	public Maps(ImageManage im,int w,int h,int tileSize,String mapId){
		this.imageManage=im;
		Maps.x=0;
		Maps.y=0;
		Maps.w=w;
		Maps.h=h;
		Maps.tileSize=tileSize;
		this.mapId=mapId;
	}
}

⌨️ 快捷键说明

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