How can I go about refactoring a switch statement to classes so that it's usable in multiple files?

前端 未结 0 1977
小鲜肉
小鲜肉 2020-12-24 03:26

I am making a small game with 3 game modes. Player vs Computer, Player vs Player and Co-op vs Computer. When I started, there was only the 1v1 game mode, where I was using a

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