Difference between revisions of "Object:type (Português)"
(Created page with 'Obtém o tipo do objeto como uma string. == Função == === Sinopse === <source lang="lua"> tipo = Object:type() </source> === Argument0s === Nenhum. === Returnos === {{param|s…') |
|||
Line 1: | Line 1: | ||
− | + | Obtêm o tipo do objeto como uma string. | |
== Função == | == Função == | ||
Line 25: | Line 25: | ||
* [[parent::Object (Português)]] | * [[parent::Object (Português)]] | ||
− | {{#set:Description= | + | {{#set:Description=Obtêm o tipo do objeto como uma string.}} |
[[Category:Functions]] | [[Category:Functions]] | ||
== Other Languages == | == Other Languages == | ||
{{i18n|Object:type (Português)}} | {{i18n|Object:type (Português)}} |
Revision as of 10:02, 2 January 2011
Obtêm o tipo do objeto como uma string.
Contents
Função
Sinopse
tipo = Object:type()
Argument0s
Nenhum.
Returnos
string tipo
- O tipo como uma string.
Exemplos
Imprime o tipo de um objeto
image = love.graphics.newImage("test.png")
print(image:type()) -- saída: Image
source = love.audio.newSource("test.ogg")
print(source:type()) -- saída: Source
Veja Também
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info