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

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.

主站蜘蛛池模板: 台中县| 广河县| 辉南县| 青川县| 潮州市| 尚志市| 元氏县| 延吉市| 中阳县| 开鲁县| 安新县| 比如县| 隆子县| 汤阴县| 工布江达县| 青川县| 庄河市| 栖霞市| 台江县| 墨玉县| 辽中县| 茂名市| 贵溪市| 中阳县| 湖南省| 同德县| 成武县| 平罗县| 伊春市| 博爱县| 武威市| 岚皋县| 太白县| 新闻| 汝州市| 仁化县| 清新县| 淅川县| 武汉市| 东安县| 临泉县|