Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

建议进行一次代码重构... #59

Open
pmavio opened this issue Apr 26, 2019 · 1 comment
Open

建议进行一次代码重构... #59

pmavio opened this issue Apr 26, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@pmavio
Copy link

pmavio commented Apr 26, 2019

虽然没做过游戏开发,也没接触过游戏引擎...
但就我的水平来看,目前的代码内耦合度有点太高了,对于游戏功能的增改难以入手
可以把游戏元素整合,抽出个公共类,实现统一的绘制、碰撞检测等功能,全局上可以统一实现按键绑定等

@pmavio pmavio added the enhancement New feature or request label Apr 26, 2019
@kasuganosoras
Copy link
Owner

有空试试吧,原作者写的逻辑有点绕,我还没完全搞懂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants