📄 index-17.html
字号:
<DD>
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#setSpeed(int)"><B>setSpeed(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>设置图形的下落速度
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#setStatus(int)"><B>setStatus(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>设置图形的当前是第几种状态
<DT><A HREF="../cn/itcast/tetris/entities/Ground.html#setStubbornObstacleColor(java.awt.Color)"><B>setStubbornObstacleColor(Color)</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#setSwift(boolean)"><B>setSwift(boolean)</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>一落到底
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#setSwiftSpeed(int)"><B>setSwiftSpeed(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>
<DT><A HREF="../cn/itcast/tetris/game/GameOptionPanel.html#setTextField_lineNum(javax.swing.JTextField)"><B>setTextField_lineNum(JTextField)</B></A> -
Method in class cn.itcast.tetris.game.<A HREF="../cn/itcast/tetris/game/GameOptionPanel.html" title="class in cn.itcast.tetris.game">GameOptionPanel</A>
<DD>
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#setTop(int)"><B>setTop(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>设置图形的位置
<DT><A HREF="../cn/itcast/tetris/entities/UnitType.html#setValue(int)"><B>setValue(int)</B></A> -
Method in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/UnitType.html" title="class in cn.itcast.tetris.entities">UnitType</A>
<DD>设置类型值
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html" title="class in cn.itcast.tetris.entities"><B>Shape</B></A> - Class in <A HREF="../cn/itcast/tetris/entities/package-summary.html">cn.itcast.tetris.entities</A><DD>维护一个图形, 一个图形可以有一种或多种状态<BR> <BR> 可以通过 setColor() 方法改变图形的颜色<BR> <BR> 可以通过覆盖 drawUnit(Graphics, int, int, int, int) 方法改变图形的显示<BR> <BR> 用内部类 ShapeDriver 驱动图形定时向下移动<BR> <BR> 使用时一定要给实例注册监听器, 否则不能正常运行 <BR><DT><A HREF="../cn/itcast/tetris/entities/Shape.html#Shape(int[][], int)"><B>Shape(int[][], int)</B></A> -
Constructor for class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/Shape.html" title="class in cn.itcast.tetris.entities">Shape</A>
<DD>指定类型, 指定状态的构造方法<BR> 将会调用 init() 方法
<DT><A HREF="../cn/itcast/tetris/entities/ShapeFactory.html" title="class in cn.itcast.tetris.entities"><B>ShapeFactory</B></A> - Class in <A HREF="../cn/itcast/tetris/entities/package-summary.html">cn.itcast.tetris.entities</A><DD>图形工厂<BR> 可以产生多种形状, 多种颜色的图形<BR> <BR> setDefaultShapeColor() 方法可以设置默认产生的图形的颜色<BR> 也可以通过 setColorfulShape() 方法设置是否产生彩色图形<BR> <BR><DT><A HREF="../cn/itcast/tetris/entities/ShapeFactory.html#ShapeFactory()"><B>ShapeFactory()</B></A> -
Constructor for class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/ShapeFactory.html" title="class in cn.itcast.tetris.entities">ShapeFactory</A>
<DD>
<DT><A HREF="../cn/itcast/tetris/listener/ShapeListener.html" title="interface in cn.itcast.tetris.listener"><B>ShapeListener</B></A> - Interface in <A HREF="../cn/itcast/tetris/listener/package-summary.html">cn.itcast.tetris.listener</A><DD>图形监听器<DT><A HREF="../cn/itcast/tetris/controller/Controller.html#shapeMovedDown(cn.itcast.tetris.entities.Shape)"><B>shapeMovedDown(Shape)</B></A> -
Method in class cn.itcast.tetris.controller.<A HREF="../cn/itcast/tetris/controller/Controller.html" title="class in cn.itcast.tetris.controller">Controller</A>
<DD>处理图形触发的 shapeMovedDown (图形下落) 事件<BR> 将会重新显示
<DT><A HREF="../cn/itcast/tetris/listener/ShapeListener.html#shapeMovedDown(cn.itcast.tetris.entities.Shape)"><B>shapeMovedDown(Shape)</B></A> -
Method in interface cn.itcast.tetris.listener.<A HREF="../cn/itcast/tetris/listener/ShapeListener.html" title="interface in cn.itcast.tetris.listener">ShapeListener</A>
<DD>图形下落事件
<DT><A HREF="../cn/itcast/tetris/util/Global.html#SPEED_STEP"><B>SPEED_STEP</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_step<BR> 范围1 至 无限大<BR> 缺省值为 25
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#speedDown()"><B>speedDown()</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>减速
<DT><A HREF="../cn/itcast/tetris/entities/Shape.html#speedUp()"><B>speedUp()</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>加速
<DT><A HREF="../cn/itcast/tetris/util/Global.html#STAY_TIME"><B>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>
<DT><A HREF="../cn/itcast/tetris/controller/Controller.html#stopGame()"><B>stopGame()</B></A> -
Method in class cn.itcast.tetris.controller.<A HREF="../cn/itcast/tetris/controller/Controller.html" title="class in cn.itcast.tetris.controller">Controller</A>
<DD>停止当前游戏
<DT><A HREF="../cn/itcast/tetris/entities/UnitType.html#STUBBORN_OBSTACLE"><B>STUBBORN_OBSTACLE</B></A> -
Static variable in class cn.itcast.tetris.entities.<A HREF="../cn/itcast/tetris/entities/UnitType.html" title="class in cn.itcast.tetris.entities">UnitType</A>
<DD>边框类类型
<DT><A HREF="../cn/itcast/tetris/util/Global.html#SWIFT_SPEED"><B>SWIFT_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>
</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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index-16.html"><B>PREV LETTER</B></A>
<A HREF="index-18.html"><B>NEXT LETTER</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?index-filesindex-17.html" target="_top"><B>FRAMES</B></A>
<A HREF="index-17.html" target="_top"><B>NO FRAMES</B></A>
<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 + -