当在后期应用资产1创建元素时,我们添加类型“类”的另一个模版参数,名为“ marshaller ”(图15和16)。
As the element will be created at a later stage, when we apply Asset 1, we add another template parameter called "marshaller" of type "class" (Figures 15 and 16).
然后,我们将给新类添加必要的代码以支持它拥有“羽翼”这一特性。
Then, we could add the necessary code to our new class to support "wings."
class选项允许我们指定向哪个类添加字段。
Class options let us specify which class we want to add fields to.
应用推荐