资源简介
俄罗斯方块源码,完整实现,对应的代码说明详见我的博客,http://blog.csdn.net/codehxy/article/details/25532055
代码片段和文件信息
package com.hsj.tetris;
import java.awt.Image;
/**
* 格子
*/
public class Cell {
private int row;
private int col;
//private int color;
private Image image;//格子的贴图
public Cell() {
}
public Cell(int row int col Image image) {
super();
this.row = row;
this.col = col;
this.image = image;
}
public int getRow() {
return row;
}
public void setRow(int row) {
this.row = row;
}
public int getCol() {
return col;
}
public void setCol(int col) {
this.col = col;
}
public Image getImage() {
return image;
}
public void setImage(Image image) {
this.image = image;
}
public void moveRight(){
col++;
//System.out.println(“Cell moveRight()“ + col);
}
public void moveLeft(){
col--;
}
public void moveDown(){
row++;
}
@Override
public String toString() {
return “[“+row+““+col+“]“;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 301 2013-08-15 12:06 .classpath
文件 382 2014-05-11 10:00 .project
目录 0 2014-05-11 10:10 .settings\
文件 629 2013-08-15 12:06 .settings\org.eclipse.jdt.core.prefs
目录 0 2014-05-11 10:10 bin\
目录 0 2014-05-11 10:10 bin\com\
目录 0 2014-05-11 10:10 bin\com\hsj\
目录 0 2014-05-11 10:10 bin\com\hsj\tetris\
文件 1615 2014-05-11 10:10 bin\com\hsj\tetris\Cell.class
文件 772 2014-05-11 10:10 bin\com\hsj\tetris\I.class
文件 3008 2013-06-21 22:17 bin\com\hsj\tetris\I.png
文件 816 2014-05-11 10:10 bin\com\hsj\tetris\J.class
文件 3007 2013-06-21 22:15 bin\com\hsj\tetris\J.png
文件 816 2014-05-11 10:10 bin\com\hsj\tetris\L.class
文件 3000 2013-06-21 22:16 bin\com\hsj\tetris\L.png
文件 770 2014-05-11 10:10 bin\com\hsj\tetris\O.class
文件 3004 2013-06-21 22:19 bin\com\hsj\tetris\O.png
文件 14093 2013-08-15 12:05 bin\com\hsj\tetris\rotatState.png
文件 770 2014-05-11 10:10 bin\com\hsj\tetris\S.class
文件 3000 2013-06-21 22:18 bin\com\hsj\tetris\S.png
文件 816 2014-05-11 10:10 bin\com\hsj\tetris\T.class
文件 2989 2013-06-21 22:20 bin\com\hsj\tetris\T.png
文件 1402 2014-05-11 10:10 bin\com\hsj\tetris\Tetris$1.class
文件 608 2014-05-11 10:10 bin\com\hsj\tetris\Tetris$2.class
文件 611 2014-05-11 10:10 bin\com\hsj\tetris\Tetris$3.class
文件 8850 2014-05-11 10:10 bin\com\hsj\tetris\Tetris.class
文件 44394 2013-06-20 17:57 bin\com\hsj\tetris\tetris.png
文件 834 2014-05-11 10:10 bin\com\hsj\tetris\Tetromino$State.class
文件 2640 2014-05-11 10:10 bin\com\hsj\tetris\Tetromino.class
文件 770 2014-05-11 10:10 bin\com\hsj\tetris\Z.class
文件 3006 2013-06-21 22:19 bin\com\hsj\tetris\Z.png
............此处省略16个文件信息
相关资源
- 俄罗斯方块vc2008源码
- 16*16点阵俄罗斯方块
- 汇编语言贪吃蛇、俄罗斯方块双任务
- 传智播客版俄罗斯方块源代码
- flash俄罗斯方块
- 纯QML编写的俄罗斯方块小游戏(2.0版
- Qt俄罗斯方块简洁易懂
- 基于51单片机的俄罗斯方块
- linux C 俄罗斯方块源码
- 用WIN32汇编写的俄罗斯方块
- 五个汇编小程序,乘法表,俄罗斯方
- 51单片机点阵俄罗斯方块代码
- 小游戏vs2008 游戏代码
- unity-3D俄罗斯方块JS版
- 达内俄罗斯方块素材,程序包
- 经典俄罗斯方块scratch2的程序
- 易语言俄罗斯方块源码
- 使用Verilog语言编写简单的俄罗斯方块
- 俄罗斯方块双人对战的实现
- hta 俄罗斯方块
- Tetris ai 俄罗斯方块自动消行程序
- 汇编俄罗斯方块,8x8点阵
- QT设计图标登录及三个游戏设计潜艇游
- 俄罗斯方块源代码
- 俄罗斯方块论文参考,结构分析
- Verilog语言编写的VGA显示-俄罗斯方块
- 俄罗斯方块简单实现带键盘控制
- 俄罗斯方块
- 俄罗斯方块.zip
- 51单片机俄罗斯方块代码,可参考
评论
共有 条评论