官术网_书友最值得收藏!

The app

The M5App or application layer is a class responsible for interfacing with the operating system. Since we are trying to write clean, reusable code, it is important that we don't mix our game code with any operating system function calls. If we did this, our game would be difficult to port to another system. The M5App class is created in WinMain and responsible for creating and destroying every other system. Anytime our game needs to interact with the OS, including changing resolution, switching to full screen, or getting input from a device, we will use the M5App class. In our case, the operating system that we will be using will be Windows.

主站蜘蛛池模板: 武隆县| 客服| 石屏县| 荔波县| 栾城县| 平乐县| 洞头县| 天水市| 普定县| 南皮县| 通城县| 镇原县| 迁安市| 苏尼特右旗| 柞水县| 大庆市| 康定县| 天水市| 教育| 兴义市| 玉溪市| 水富县| 山丹县| 溆浦县| 云和县| 固阳县| 梁河县| 惠州市| 舟山市| 湖州市| 太谷县| 西盟| 龙里县| 平邑县| 永福县| 兴隆县| 会泽县| 长葛市| 唐山市| 金溪县| 女性|