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

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.

主站蜘蛛池模板: 孝义市| 策勒县| 彭山县| 南靖县| 鹤山市| 临高县| 定结县| 古浪县| 左贡县| 天镇县| 汉沽区| 鄂伦春自治旗| 巧家县| 木里| 大洼县| 本溪市| 体育| 织金县| 嵊州市| 武强县| 台东县| 六枝特区| 郁南县| 集安市| 洛隆县| 新源县| 武隆县| 牙克石市| 昂仁县| 漠河县| 嘉禾县| 洞头县| 六枝特区| 瑞安市| 三亚市| 刚察县| 清水河县| 德昌县| 金门县| 蓬溪县| 信宜市|