这句this.objectName=objectName;意思是什么?什么作用?
来源:百度知道 编辑:UC知道 时间:2024/06/14 12:44:11
public function Warrior(objectName:String,amount:uint,level:uint,hp:uint,attack:uint,defend:uint,agility:uint,consume:uint,population:uint,attackType:uint) {
this.objectName=objectName;
this.amount=amount;
this.level=level;
this.hp=hp;
this.totalHp=hp * amount;
this.attack=attack;
this.defend=defend;
this.agility=agility;
this.consume=consume;
this.population=population;
this.attackType=attackType;
}
this.objectName=objectName;有人能帮忙解示一下。这类的用法是什么意思吗?有什么作用?
这么写的作用是什么?
当前 类的对象里的成员objectName
是什么意思?
按下面的类子
package {
import flash.display.Sprite;<
this.objectName=objectName;
this.amount=amount;
this.level=level;
this.hp=hp;
this.totalHp=hp * amount;
this.attack=attack;
this.defend=defend;
this.agility=agility;
this.consume=consume;
this.population=population;
this.attackType=attackType;
}
this.objectName=objectName;有人能帮忙解示一下。这类的用法是什么意思吗?有什么作用?
这么写的作用是什么?
当前 类的对象里的成员objectName
是什么意思?
按下面的类子
package {
import flash.display.Sprite;<
objectName 是传进来的参数。
this -- 是当前类的对象。
this.objectName --是当前 类的对象里的成员objectName
this.objectName=objectName; 是赋值语句。把参数objectName字符串 传给 this.objectName
objectName -- 英文意思是“对象名”,字符串.调用时是实参。
this is perfect 这句歌词出自哪里? 我想找这首歌!!
jButton1.addActionListener(new PlusCaculator_btnCaculate_actionAdapter(this));这句是什么意思?
This is sparta这句台词什么意思!
有谁知道这句是什么意思?Are this part comply with RoHS?拜托了,急!!!
No permission to view this article 这句怎么解释合适
You can't make this stuff up.这句谚语的中文意思是什么?
Is this book out in paperback?中的out是什么意思,这句对吗?
这句什么意思:This is an offer never to be repeated again.
can you hear my hart beat in this hurt 这句歌词的歌名叫什么
onChange="var jmpURL=this.options这句代码何解?