摘要
通过注册成员函数和成员变量地址的方法设计一个游戏引擎场景接口,以便提高游戏开发者们的开发效率和游戏引擎的高隐藏性和游戏引擎的可拓展性。首先通过UML构建了该接口的总体设计方案,然后逐一介绍了接口中各类的实现方法以及设计该接口的一些特殊技巧。
An interface of game scene is designed through registering the member function and member vary. The scene interface can improve the engine designers working efficiency and make the game engine dissembling and expanding. Using UML to design the frame about the scene interface, and then implementing all of the classes in the scene interface one by one are presented.
出处
《科学技术与工程》
2006年第18期2918-2922,共5页
Science Technology and Engineering
关键词
游戏引擎
场景
接口
脚本
封装
游戏设计
game engine scene interface script encapsulation API design