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

Summary

In this chapter, we have learned the important points about resource management. By now, we know the ideas behind resources and the facilities SFML provides to work with them. We have taken a look at a possible way resources are used in a bigger project, and implemented a generic resource holder that helps us with passing resources to different parts of the application. We also investigated possible error sources as well as techniques to handle them appropriately.

In the next chapter, we are going to develop the game world with a variety of objects in it. Most of these objects require different resources, which is a good opportunity to show our resource holder in a real-world example.

主站蜘蛛池模板: 新化县| 禹州市| 昌宁县| 鄢陵县| 秦皇岛市| 达拉特旗| 黄龙县| 德阳市| 慈溪市| 肃北| 亚东县| 资源县| 唐海县| 通城县| 邹平县| 安图县| 普格县| 丰镇市| 安顺市| 张掖市| 东明县| 于都县| 昌都县| 滨海县| 陆丰市| 昌吉市| 武义县| 佛学| 灌南县| 柘荣县| 嘉鱼县| 浦北县| 泾川县| 冕宁县| 封开县| 名山县| 乐至县| 修武县| 无锡市| 潍坊市| 昆山市|