读书人

AndEngine 分析之5-Scene

发布时间: 2012-08-26 16:48:06 作者: rapoo

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()方法

 

读书人网 >移动开发

热点推荐