You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
964 B

package cn.edu.caztc.sokobangame;
import javax.swing.ImageIcon;
public interface MapConfig {
/**素材宽度*/
int SOUREC_WIDTH = 50;
/**素材高度*/
int SOUREC_HEIGHT = 50;
/**地图宽度*/
int MAP_WIDTH = 800;
/**地图高度*/
int MAP_HEIGHT= 800;
/**地图存放的位置*/
String PATH = "D:\\推箱子";
ImageIcon icon101 = new ImageIcon("images/墙.png");
ImageIcon icon102 = new ImageIcon("images/地板.png");
ImageIcon icon103 = new ImageIcon("images/空箱子.png");
ImageIcon icon104 = new ImageIcon("images/箱子.png");
ImageIcon icon105 = new ImageIcon("images/箱子点.png");
ImageIcon icon106 = new ImageIcon("images/player.png");
//将所有的图片素材对象放入一个数组中,便于窗体上的下拉列表添加所有的图片素材
ImageIcon[] allicons = {icon101,icon102,icon103,icon104,icon105,icon106};
}