Welcome![Sign In][Sign Up]
Location:
Search - snake java 2 me source

Search list

[J2MEsnake

Description: 贪吃蛇手机游戏 贪吃蛇是一款非常经典的手机游戏,本文将使用MIDP实现这款著名的游戏。首先我将介绍下主要用到的七个类:    WormMain:最主要的类,控制所有其它类的运行和销毁。    WormPit:处理键盘输入事件并实例化Worm类和WormFood类的。    Worm:抽象了贪吃蛇的属性和动作    WormFood:抽象了食物的属性和动作    WormScore:用来纪录分数的类    WormLink:抽象了蛇身上的一段,保存了这段的坐标、方向和所有状态。    WormException:处理异常类-Snake mobile game Snake is a very classic cell phone game, this paper will use the MIDP realize this famous game. First of all, I will introduce the main use of the seven categories: WormMain: the most important category, controlling for all other types of running and destroyed. WormPit: handle keyboard input events and Worm instantiated class and WormFood category. Worm: abstract properties of the Snake and movements WormFood: abstract properties of food and movement WormScore: the class used to record scores WormLink: abstract section of the snake body, preserved during the coordinates, direction and all states. WormException: handle exception classes
Platform: | Size: 4096 | Author: weat | Hits:

[Other Gamesmysnap2

Description: J2ME贪吃蛇源码,教学示例,注解详细,结构非常清晰-Snake J2ME source, teaching example, comments in detail, the structure is very clear
Platform: | Size: 576512 | Author: dlwu | Hits:

CodeBus www.codebus.net