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

📄 world.java

📁 Java游戏高级编程!!很不错的!!!Java游戏高级编程!!很不错的
💻 JAVA
字号:
     package com.croftsoft.core.animation.model;     import java.awt.*;     import java.util.*;     import com.croftsoft.core.math.geom.PointXY;     /*********************************************************************     * Provides methods for manipulating the Models in the game.     *     * @version     *   2003-06-05     * @since     *   2003-04-14     * @author     *   <a href="http://www.croftsoft.com/">David Wallace Croft</a>     *********************************************************************/     public interface  World       extends WorldAccessor     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     {     public void  clear ( );     public void  remove ( Model  model );     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     public void  prepare ( );     public void  update ( double  timeDelta );     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     /*********************************************************************     * Gets an active Model that contains the point.     *     * @param  classes     *     *   The returned Model will be an instance of one of the classes.     *     * @param  model     *     *   The Model to ignore, usually the one calling this method.     *********************************************************************/     public Model  getModel (       PointXY    pointXY,       Class [ ]  classes,       Model      model );     public Model [ ]  getModels ( );     /*********************************************************************     * Determines whether an active Impassable overlaps the model shape.     *********************************************************************/     public boolean  isBlocked ( Model  model );     /*********************************************************************     * Determines whether an active Impassable overlaps the shape.     *     * @param  model     *     *   The model to ignore.     *********************************************************************/     public boolean  isBlocked (       Shape  shape,       Model  model );     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     }

⌨️ 快捷键说明

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