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

📄 ishape.java

📁 坦克游戏
💻 JAVA
字号:
/*
 * Created on 2005-3-10
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package shape;

/**
 * @author Emtry Immortal
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public interface IShape {
	public boolean isSuperpose(IShape shape);
	
	public boolean isSuperpose(int left, int top, int width, int height) ;
	
	public boolean isSuperpose(double x, double y, double radius) ;
	
	public void move(double dDirect, double dDistance);

	public void setLocation(double x, double y);

	public boolean isAcross(double x1, double y1, double x2, double y2);
	
	public boolean isAcross(IShape shape);
	
	public boolean isConatin(IShape shape);

}

⌨️ 快捷键说明

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