首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

AndEngine 分析之5-Scene

2012-08-26 
AndEngine 分析之五-----SceneScene:The Scene class is the root container for all objects to be drawn

AndEngine 分析之五-----Scene

Scene:
The Scene class is the root container for all objects to be drawn on the screen. A Scene has a specific amount of Layers, which themselves can contain a (fixed or dynamic) amount of Entities. There are subclasses, like the CameraScene/HUD/MenuScene that are drawing themselves to the same position of the Scene no matter where the camera is positioned to.

?

Scene是屏幕上所有对象的根容器,它有许多的曾用来包含其他实体,它可以有许多特定的子类。

?

一般情况下继承BaseGameActivity的类会覆写onLoadScene()方法

 

热点排行