1.03 游戏架构
Posted 养老保险年审
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了1.03 游戏架构相关的知识,希望对你有一定的参考价值。
1.03 游戏架构
![](https://image.cha138.com/20210612/c30d6129b0144780bf1399ce1b15435c.jpg)
![](https://image.cha138.com/20210612/bf3ab4d84df64f2094f395de4b162bb9.jpg)
![](https://image.cha138.com/20210612/8f6b8766304840bdaf88c73a8fbdbbfe.jpg)
![](https://image.cha138.com/20210612/3aafe0ae14dd4e439e88dab3b454810d.jpg)
![](https://image.cha138.com/20210612/cde090abc39e4867b4b6cf0ffecff197.jpg)
![](https://image.cha138.com/20210612/c30d6129b0144780bf1399ce1b15435c.jpg)
![](https://image.cha138.com/20210612/bf3ab4d84df64f2094f395de4b162bb9.jpg)
![](https://image.cha138.com/20210612/8f6b8766304840bdaf88c73a8fbdbbfe.jpg)
二、Create 函数所遵循的规则
1、new
2、判断不为空
3、不为空托管
三、工厂方法
![](https://image.cha138.com/20210612/3aafe0ae14dd4e439e88dab3b454810d.jpg)
![](https://image.cha138.com/20210612/cde090abc39e4867b4b6cf0ffecff197.jpg)
四、CCScene和CCLayer合文件的根源
可以用父类代替继承过来的子类(子类什么事也没干的)
以上是关于1.03 游戏架构的主要内容,如果未能解决你的问题,请参考以下文章