Scarica per Windows Premium
Pubblicità
class variable
Definizione
variable shared by all instances of a class  ... Vedere più
The class variable cannot be initialized here (use the new method).
类变量在此处无法初始化(使用新方法)。
Now we need to add a few things to Player.gd. First we need to define a new class variable
现在我们需要在 Player.gd 中添加一些内容。 首先,我们需要定义一个新的类变量:
Ruby enforces some naming conventions. If an identifier starts with a capital letter, it is a constant. If it starts with a dollar sign ($), it is a global variable. If it starts with , it is an instance variable. If it starts with , it is a class variable.
Ruby 强制了一些命名约定。大写字母开头的是一个常量;美元符号($)开头的是全局变量; 开头的是实例变量; 开头的是类变量。

Altri risultati

Create class variables to use during the form.
创建要在窗体中使用的类变量。
The necessary class variables are declared here.
此处声明必要的类变量。
Set the class variables to the last modem found.
将类变量设置为最后找到的调制解调器。
Let's look at the class variables first.
我们先来看看类变量。
Lets start with this script's class variables
让我们从这个脚本的类变量开始:
Class variables begin with and must be initialized before they can be used in method definitions.
类变量以 开头,且必须初始化后才能在方法定义中使用。
First, we define some class variables to dictate how our player will move about the world.
首先,我们定义一些类变量来决定我们的游戏角色将如何在世界范围内移动。
Let's go over what this script is doing, starting with its class variables
让我们回顾一下这个脚本正在做什么,从它的类变量开始:
Let's go over what's happening, starting with the class variables
让我们回顾一下正在发生的事情,从类变量开始:
First we define some class variables we'll need in the script
首先,我们在脚本中定义一些我们需要的类变量:
Nessun risultato trovato per questo significato.
Passa a Premium per accedere a milioni di esempi di traduzione, salvare e imparare vocaboli senza limiti, senza pubblicità.

Sinonimi e analogie di "class variable" in inglese

Parola ed espressione del giorno
Immagine del giorno
radish: edible root vegetable with a peppery flavor
Scopri il significato
Pubblicità

Risultati: 214. Esatti: 3. Tempo di risposta: 37 ms.