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

Chapter 3. Understanding the Class Tree

Who is your daddy and what does he do?

In the last two chapters we've been using classes to write and test our code. But what is a class exactly? What is the importance of the class tree, why use one at all? In this chapter we're going to take a closer look at what it means when we say that UnrealScript is an object-oriented programming language.

In this chapter we will:

  • Discuss the class tree and the principles of object-oriented programming
  • Talk about inheritance and what it means to the class tree
  • Use function overriding to change the behavior of our classes
  • Talk about casting and how to use it on our classes
  • Go over the different class properties that can be used
  • Discuss the difference between Actors and Objects

Let's start by talking about classes, what they are and how to use them.

主站蜘蛛池模板: 海原县| 商都县| 饶阳县| 花莲县| 陈巴尔虎旗| 正安县| 麻阳| 得荣县| 扶沟县| 东辽县| 普洱| 惠州市| 彰化市| 高陵县| 五莲县| 河西区| 大新县| 嫩江县| 洛南县| 临安市| 叶城县| 寿光市| 秦安县| 平舆县| 芒康县| 闽侯县| 永顺县| 应城市| 关岭| 松原市| 兰西县| 安溪县| 桐乡市| 安阳市| 金川县| 江油市| 平果县| 同仁县| 开远市| 麟游县| 淮滨县|