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

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.

主站蜘蛛池模板: 临沧市| 潮安县| 静安区| 沂源县| 阜康市| 隆安县| 民丰县| 高密市| 平原县| 方正县| 连城县| 高淳县| 甘南县| 广宗县| 额敏县| 海淀区| 滦南县| 彰化县| 八宿县| 红原县| 徐水县| 赫章县| 尉犁县| 安国市| 南溪县| 浏阳市| 龙游县| 山阴县| 会宁县| 富民县| 珲春市| 武威市| 黑河市| 且末县| 新干县| 凤冈县| 泰顺县| 洛宁县| 凭祥市| 深州市| 武夷山市|