Description: AAM (Active Appearance Model) Building module. AAM statistically builds a joint shape and texture appearance model, which has been widely applied in face tracking, lip reading, audio-visual HCI, etc. -AAM (Active Appearance Model) Building module. AAM statistically builds a joint shape and texture appearance model, which has been widely applied in face tracking, lip reading, audio-visual HCI, etc. Platform: |
Size: 67584 |
Author:liyi |
Hits:
Description: 俄罗斯方块小游戏的Java源代码,俄罗斯方块的Java 实现,里面包括控制面板类、方格类、游戏控制主类等,方格类是组成块的基本元素,用自己的颜色来表示块的外观,俄罗斯方块游戏控制面板类,继承自JPanel.上边安放预显窗口、等级、得分、控制按钮,主要用来控制游戏进程。
游戏主类,继承自JFrame类,负责游戏的全局控制,内含:
1, 一个GameCanvas画布类的实例引用,
2, 一个保存当前活动块(ErsBlock)实例的引用,
3, 一个保存当前控制面板(ControlPanel)实例的引用
俄罗斯方块控制面板类的构造函数:
@param game ErsBlocksGame, ErsBoxesGame类的一个实例引用,方便直接控制ErsBoxesGame类的行为。让用户修改游戏难度等级。
@param level 修改后的游戏难度等级,当用户消灭一行方块后,重新计算TipPanel里的boxes[][]里的小框的大校-Tetris game for Java source code , Tetris Java implementation , which includes control panel type, square type, the main game control , etc., are the basic elements checkered class blocks , with their own color to represent the appearance of the block Tetris game control panel class inherits from JPanel. remarkable window on top of the pre- placement , grade, score , control buttons , is mainly used to control the game process.
The main game class inherits from JFrame class , is responsible for the overall control of the game , containing :
1 , a reference to a class instance GameCanvas canvas ,
2 , a reference to save the currently active block (ErsBlock) instance ,
3 , a save the current control panel (ControlPanel) cited instances
Tetris control panel class constructor :
@ param game ErsBlocksGame, an instance of the class reference ErsBoxesGame facilitate direct control ErsBoxesGame kind of behavior . Allows users to modify the game difficulty level .
@ param level the mod Platform: |
Size: 35840 |
Author:rpudn63 |
Hits: