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

📄 index-all.html

📁 a very good example of how to use java for a minesweeper game that is much like the windows one. Th
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu May 29 17:32:16 BST 2003 -->
<TITLE>
Index
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="Index";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <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">    <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;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<A HREF="#_A_">A</A> <A HREF="#_B_">B</A> <A HREF="#_C_">C</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <HR>
<A NAME="_A_"><!-- --></A><H2>
<B>A</B></H2>
<DL>
<DT><A HREF="MineSweeper.html#actionPerformed(java.awt.event.ActionEvent)"><B>actionPerformed(ActionEvent)</B></A> - 
Method in class <A HREF="MineSweeper.html">MineSweeper</A>
<DD>ActionEvent e tells the menu what to do and when.adds functions to the face button and calls the game class to creat a game
</DL>
<HR>
<A NAME="_B_"><!-- --></A><H2>
<B>B</B></H2>
<DL>
<DT><A HREF="build.html"><B>build</B></A> - class <A HREF="build.html">build</A>.<DD>designed & build by Grahame batte email: g.batte@lancaster.ac.uklast modified on 22-05-03 used in my minesweeper aplication<DT><A HREF="build.html#build(int, int)"><B>build(int, int)</B></A> - 
Constructor for class <A HREF="build.html">build</A>
<DD>bulid sets s = new Square [row][column];
</DL>
<HR>
<A NAME="_C_"><!-- --></A><H2>
<B>C</B></H2>
<DL>
<DT><A HREF="game.html#column"><B>column</B></A> - 
Static variable in class <A HREF="game.html">game</A>
<DD>row,column,and mines anr the number of rows,columns and mines. used to pass the int around the program.
<DT><A HREF="Square.html#count"><B>count</B></A> - 
Variable in class <A HREF="Square.html">Square</A>
<DD>count is the number of mines around this square, incremented by game class when a mine is placed
</DL>
<HR>
<A NAME="_F_"><!-- --></A><H2>
<B>F</B></H2>
<DL>
<DT><A HREF="MineSweeper.html#face"><B>face</B></A> - 
Static variable in class <A HREF="MineSweeper.html">MineSweeper</A>
<DD>face displays the simle in its difrent forms and adds functions to the game such as new game
<DT><A HREF="Square.html#flagedright"><B>flagedright</B></A> - 
Variable in class <A HREF="Square.html">Square</A>
<DD>indicates when a flaged is places where it is in the wright place.that is if it has been placed on the location of a mine
<DT><A HREF="Square.html#flagleft"><B>flagleft</B></A> - 
Static variable in class <A HREF="Square.html">Square</A>
<DD>flagleft is the number of flags that have not been placed on the game equal to flagnum - flags used
<DT><A HREF="Square.html#flagnum"><B>flagnum</B></A> - 
Static variable in class <A HREF="Square.html">Square</A>
<DD>flagnum is the number of flas that can be displayed equal to number of mine
<DT><A HREF="Square.html#flagused"><B>flagused</B></A> - 
Static variable in class <A HREF="Square.html">Square</A>
<DD>flagused is the number of flags used so far
</DL>
<HR>
<A NAME="_G_"><!-- --></A><H2>
<B>G</B></H2>
<DL>
<DT><A HREF="game.html"><B>game</B></A> - class <A HREF="game.html">game</A>.<DD>designed & build by Grahame batte email: g.batte@lancaster.ac.uklast modified on 19-05-03 used in my minesweeper aplication<DT><A HREF="game.html#game(int, int, int)"><B>game(int, int, int)</B></A> - 
Constructor for class <A HREF="game.html">game</A>
<DD>game sets s = new Square [row][column];randomly generats int mines number of mines, places them on the gamedisplays the numbers indicating the number of mines next to a square
<DT><A HREF="Square.html#GameOver"><B>GameOver</B></A> - 
Static variable in class <A HREF="Square.html">Square</A>
<DD>GameOver indicates the state of uncovering a mine, if == true a nw game needs to be started.
<DT><A HREF="Square.html#GameWon"><B>GameWon</B></A> - 
Static variable in class <A HREF="Square.html">Square</A>
<DD>GameWon indicates the state of a game being won.that is all the mines have been flagedright and all other squares uncovered safly
</DL>
<HR>
<A NAME="_H_"><!-- --></A><H2>
<B>H</B></H2>
<DL>
<DT><A HREF="MineSweeper.html#hund"><B>hund</B></A> - 
Static variable in class <A HREF="MineSweeper.html">MineSweeper</A>
<DD>hund displays the hundreds of the number of flags left digital display
</DL>
<HR>
<A NAME="_I_"><!-- --></A><H2>
<B>I</B></H2>
<DL>
<DT><A HREF="Square.html#isblank"><B>isblank</B></A> - 
Variable in class <A HREF="Square.html">Square</A>
<DD>isblank indicates whether a square that has been clicked on is blank or not
<DT><A HREF="Square.html#iteration1(int, int, int, int)"><B>iteration1(int, int, int, int)</B></A> - 
Static method in class <A HREF="Square.html">Square</A>
<DD>iteration1 calls remove and iterates with(x+1,y,row,column)
<DT><A HREF="Square.html#iteration2(int, int, int, int)"><B>iteration2(int, int, int, int)</B></A> - 
Static method in class <A HREF="Square.html">Square</A>
<DD>iteration2 calls remove and iterates with(x-1,y,row,column)
<DT><A HREF="Square.html#iteration3(int, int, int, int)"><B>iteration3(int, int, int, int)</B></A> - 
Static method in class <A HREF="Square.html">Square</A>
<DD>iteration3 calls remove and iterates with(x,y+1,row,column)
<DT><A HREF="Square.html#iteration4(int, int, int, int)"><B>iteration4(int, int, int, int)</B></A> - 
Static method in class <A HREF="Square.html">Square</A>
<DD>iteration4 calls remove and iterates with(x+1,y+1,row,column)
<DT><A HREF="Square.html#iteration5(int, int, int, int)"><B>iteration5(int, int, int, int)</B></A> - 
Static method in class <A HREF="Square.html">Square</A>
<DD>iteration5 calls remove and iterates with(x,y-1,row,column)
<DT><A HREF="Square.html#iteration6(int, int, int, int)"><B>iteration6(int, int, int, int)</B></A> - 
Static method in class <A HREF="Square.html">Square</A>
<DD>iteration6 calls remove and iterates with(x-1,y-1,row,column)
<DT><A HREF="Square.html#iteration7(int, int, int, int)"><B>iteration7(int, int, int, int)</B></A> - 
Static method in class <A HREF="Square.html">Square</A>
<DD>iteration7 calls remove and iterates with(x+1,y-1,row,column)
<DT><A HREF="Square.html#iteration8(int, int, int, int)"><B>iteration8(int, int, int, int)</B></A> - 
Static method in class <A HREF="Square.html">Square</A>
<DD>iteration8 calls remove and iterates with(x-1,y+1,row,column)
</DL>
<HR>
<A NAME="_M_"><!-- --></A><H2>
<B>M</B></H2>
<DL>
<DT><A HREF="MineSweeper.html#main(java.lang.String[])"><B>main(String[])</B></A> - 
Static method in class <A HREF="MineSweeper.html">MineSweeper</A>
<DD>the main methoud to run the program.
<DT><A HREF="Square.html#mine"><B>mine</B></A> - 

⌨️ 快捷键说明

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