How to make a game while avoiding global variables?

后端 未结 0 448
-上瘾入骨i
-上瘾入骨i 2021-01-31 03:36

Just read that global variables are bad, which is shocking because I use them all the time. The way I\'m making games right now is by making a function for each location in a ga

相关标签:
回答
  • 消灭零回复
提交回复
热议问题