Difference between revisions of "love.thread.newThread"
Line 1: | Line 1: | ||
{{newin|[[0.7.0]]|type=function}} | {{newin|[[0.7.0]]|type=function}} | ||
Creates a new Thread from a [[File]] or [[Data]] Object. | Creates a new Thread from a [[File]] or [[Data]] Object. | ||
+ | == Function== | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | thread = love.thread.newThread( name, filename ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | {{param|string|name|The name of the thread.}} | ||
+ | {{param|string|filename|The name of the File to use as source.}} | ||
+ | === Returns === | ||
+ | {{param|Thread|thread|A new Thread that has yet to be started.}} | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === |
Revision as of 14:32, 25 November 2010
Available since LÖVE 0.7.0 |
This function is not supported in earlier versions. |
Creates a new Thread from a File or Data Object.
Contents
Function
Synopsis
thread = love.thread.newThread( name, filename )
Arguments
Returns
Thread thread
- A new Thread that has yet to be started.
Function
Synopsis
thread = love.thread.newThread( name, file )
Arguments
Returns
Thread thread
- A new Thread that has yet to be started.
Function
Synopsis
thread = love.thread.newThread( name, data )
Arguments
Returns
Thread thread
- A new Thread that has yet to be started.