Difference between revisions of "Sound.new"

From GiderosMobile
(removed language stuff)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Sound]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sound|Sound]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Creates a new '''Sound''' object.
Creates a new [[Special:MyLanguage/Sound|Sound]] object.<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
Sound.new(filename)
+
Sound.new(filename)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''filename''': (string) <translate>The name of the sound file to be loaded.</translate> <br/>
+
=== Parameters ===
 +
'''filename''': (string) the path of the sound file to be loaded<br/>
  
 
{{Sound}}
 
{{Sound}}

Revision as of 06:41, 29 May 2021

Available since: Gideros 2011.6
Class: Sound

Description

Creates a new Sound object.

Sound.new(filename)

Parameters

filename: (string) the path of the sound file to be loaded