Difference between revisions of "Object:type (Português)"
m (acerto de links) |
|||
Line 10: | Line 10: | ||
Nenhum. | Nenhum. | ||
=== Retornos === | === Retornos === | ||
− | {{param|string|tipo|O tipo como uma string.}} | + | {{param|string (Português)|tipo|O tipo como uma string.}} |
== Exemplos == | == Exemplos == |
Revision as of 07:56, 4 January 2011
Obtém o tipo do objeto como uma string.
Contents
Função
Sinopse
tipo = Object:type()
Argumentos
Nenhum.
Retornos
string (Português) 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
Outros Idiomas
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