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

📄 index-4.html

📁 这是一个用JAVA编程的俄罗斯方块程序
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_01) on Tue Jan 29 17:09:38 CST 2008 -->
<TITLE>
D-Index
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="D-Index";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="index-3.html"><B>PREV LETTER</B></A>&nbsp;
&nbsp;<A HREF="index-5.html"><B>NEXT LETTER</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../index.html?index-filesindex-4.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">K</A> <A HREF="index-11.html">L</A> <A HREF="index-12.html">M</A> <A HREF="index-13.html">N</A> <A HREF="index-14.html">O</A> <A HREF="index-15.html">P</A> <A HREF="index-16.html">R</A> <A HREF="index-17.html">S</A> <A HREF="index-18.html">T</A> <A HREF="index-19.html">U</A> <A HREF="index-20.html">W</A> <HR>
<A NAME="_D_"><!-- --></A><H2>
<B>D</B></H2>
<DL>
<DT><A HREF="../cn/itcast/tetris/view/GamePanel.html#DEFAULT_BACKGROUND_COLOR"><B>DEFAULT_BACKGROUND_COLOR</B></A> - 
Static variable in class cn.itcast.tetris.view.<A HREF="../cn/itcast/tetris/view/GamePanel.html" title="class in cn.itcast.tetris.view">GamePanel</A>
<DD>&nbsp;
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#DEFAULT_FULL_LINE_COLOR"><B>DEFAULT_FULL_LINE_COLOR</B></A> - 
Static variable in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Ground.html" title="class in cn.itcast.tetris.entities">Ground</A>
<DD>&nbsp;
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#DEFAULT_GRIDDING_COLOR"><B>DEFAULT_GRIDDING_COLOR</B></A> - 
Static variable in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Ground.html" title="class in cn.itcast.tetris.entities">Ground</A>
<DD>&nbsp;
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#DEFAULT_OBSTACLE_COLOR"><B>DEFAULT_OBSTACLE_COLOR</B></A> - 
Static variable in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Ground.html" title="class in cn.itcast.tetris.entities">Ground</A>
<DD>&nbsp;
<DT><A HREF="../cn/itcast/tetris/entities/ShapeFactory.html#DEFAULT_SHAPE_COLOR"><B>DEFAULT_SHAPE_COLOR</B></A> - 
Static variable in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/ShapeFactory.html" title="class in cn.itcast.tetris.entities">ShapeFactory</A>
<DD>&nbsp;
<DT><A HREF="../cn/itcast/tetris/util/Global.html#DEFAULT_SPEED"><B>DEFAULT_SPEED</B></A> - 
Static variable in class cn.itcast.tetris.util.<A HREF="../cn/itcast/tetris/util/Global.html" title="class in cn.itcast.tetris.util">Global</A>
<DD>图形下落的初始速度 (单位: 毫秒/格)<BR> 对应的配置文件中的关键字为: speed<BR> 范围10 至 无限大<BR> 缺省值为 200
<DT><A HREF="../cn/itcast/tetris/util/Global.html#DEFAULT_STAY_TIME"><B>DEFAULT_STAY_TIME</B></A> - 
Static variable in class cn.itcast.tetris.util.<A HREF="../cn/itcast/tetris/util/Global.html" title="class in cn.itcast.tetris.util">Global</A>
<DD>消除满行前暂停效果的时间(单位: 毫秒)<BR> 对应的配置文件的关键字为: stay_time<BR> 范围0 至 无限大<BR> 缺省值为 200
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#deleteFullLine()"><B>deleteFullLine()</B></A> - 
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Ground.html" title="class in cn.itcast.tetris.entities">Ground</A>
<DD>扫描并删除满行<BR> 将调用 deleteLine(int) 方法删除满行
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#deleteLine(int)"><B>deleteLine(int)</B></A> - 
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Ground.html" title="class in cn.itcast.tetris.entities">Ground</A>
<DD>删除指定的行(这一行上面所有的石头整体下移一行)
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#die()"><B>die()</B></A> - 
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Shape.html" title="class in cn.itcast.tetris.entities">Shape</A>
<DD>&nbsp;
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#DOWN"><B>DOWN</B></A> - 
Static variable in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Shape.html" title="class in cn.itcast.tetris.entities">Shape</A>
<DD>下落
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#drawGridding(java.awt.Graphics, int, int, int, int)"><B>drawGridding(Graphics, int, int, int, int)</B></A> - 
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Ground.html" title="class in cn.itcast.tetris.entities">Ground</A>
<DD>画一个空白的方法(网格), 可以覆盖这个方法改变空白(网格)的显示
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#drawMe(java.awt.Graphics)"><B>drawMe(Graphics)</B></A> - 
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Ground.html" title="class in cn.itcast.tetris.entities">Ground</A>
<DD>显示, 将调用 drawGridding(Graphics, int, int, int, int), drawObstacle(Graphics, int, int, int, int)和 drawStubbornObstacle(Graphics, int, int, int, int) 方法
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#drawMe(java.awt.Graphics)"><B>drawMe(Graphics)</B></A> - 
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Shape.html" title="class in cn.itcast.tetris.entities">Shape</A>
<DD>显示, 将调用drawUnit(Graphics, int, int, int, int)方法
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#drawObstacle(java.awt.Graphics, int, int, int, int)"><B>drawObstacle(Graphics, int, int, int, int)</B></A> - 
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Ground.html" title="class in cn.itcast.tetris.entities">Ground</A>
<DD>画一个障碍物的方法, 可以覆盖这个方法改变障碍物的显示
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#drawStubbornObstacle(java.awt.Graphics, int, int, int, int)"><B>drawStubbornObstacle(Graphics, int, int, int, int)</B></A> - 
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Ground.html" title="class in cn.itcast.tetris.entities">Ground</A>
<DD>画一个不可消除的障碍物的方法, 可以覆盖这个方法改变不可消除的障碍物的显示
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#drawUnit(java.awt.Graphics, int, int, int, int)"><B>drawUnit(Graphics, int, int, int, int)</B></A> - 
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Shape.html" title="class in cn.itcast.tetris.entities">Shape</A>
<DD>画具体的每一个方块的方法, 可以覆盖这个方法改变图形的显示
</DL>
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="index-3.html"><B>PREV LETTER</B></A>&nbsp;
&nbsp;<A HREF="index-5.html"><B>NEXT LETTER</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../index.html?index-filesindex-4.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">K</A> <A HREF="index-11.html">L</A> <A HREF="index-12.html">M</A> <A HREF="index-13.html">N</A> <A HREF="index-14.html">O</A> <A HREF="index-15.html">P</A> <A HREF="index-16.html">R</A> <A HREF="index-17.html">S</A> <A HREF="index-18.html">T</A> <A HREF="index-19.html">U</A> <A HREF="index-20.html">W</A> <HR>

</BODY>
</HTML>

⌨️ 快捷键说明

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