Channel:performAtomic

Channel:performAtomic Available since LÖVE 0.10.0 This function is not supported in earlier versions. Executes the specified function atomically with respect to this Channel. Calling multiple methods in a row on the same Channel is often useful. However if multiple Threads are calling this Channel's methods at the same time, the different calls on each Thread might end up interleaved (e.g. one or more of the second thread's calls may happen in between the first thread's calls.) This metho

Channel:getCount

Channel:getCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the number of messages in the thread Channel queue. Function Synopsis value = Channel:getCount( ) Arguments None. Returns number count The number of messages in the queue. See Also Channel Channel:pop

Channel:demand

Channel:demand Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the value of a Channel message and removes it from the message queue. It waits until a message is in the queue then returns the message value. Function Synopsis value = Channel:demand( ) Arguments None. Returns Variant value The contents of the message. See Also Channel Channel:supply Channel:pop

Channel:count

Channel:count Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the number of messages in the thread Channel queue. Function Synopsis value = Channel:getCount( ) Arguments None. Returns number count The number of messages in the queue. See Also Channel Channel:pop

Channel:clear

Channel:clear Available since LÖVE 0.9.0 This function is not supported in earlier versions. Clears all the messages in the Channel queue. Function Synopsis Channel:clear( ) Arguments None. Returns None. See Also Channel

ChainShape:setPrevVertex

ChainShape:setPrevVertex Available since LÖVE 0.8.0 This function is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to ChainShape:setPreviousVertex. Sets a vertex that establishes a connection to the previous shape. This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape. Function Synopsis ChainShape:setPrevVertex( x, y ) Arguments number x The x-component of the vertex. number y The y-component

ChainShape:setPreviousVertex

ChainShape:setPreviousVertex Available since LÖVE 0.9.0 It has been renamed from ChainShape:setPrevVertex. Sets a vertex that establishes a connection to the previous shape. This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape. Function Synopsis ChainShape:setPreviousVertex( x, y ) Arguments number x The x-component of the vertex. number y The y-component of the vertex. Returns Nothing. See Also ChainShape ChainShape:set

ChainShape:setNextVertex

ChainShape:setNextVertex Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets a vertex that establishes a connection to the next shape. This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape. Function Synopsis ChainShape:setNextVertex( x, y ) Arguments number x The x-component of the vertex. number y The y-component of the vertex. Returns Nothing. See Also ChainShape ChainShape:setPreviousVer

ChainShape:getVertexCount

ChainShape:getVertexCount Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns the number of vertices the shape has. Function Synopsis count = ChainShape:getVertexCount( ) Arguments None. Returns number count The number of vertices. See Also ChainShape

ChainShape:getPoints

ChainShape:getPoints Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns all points of the shape. A bug in 0.8.0 causes memory corruption if this function gets called on a ChainShape with more than 8 points. Function Synopsis x1, y1, x2, y2, ... = ChainShape:getPoints( ) Returns number x1 The x-coordinate of the first point. number y1 The y-coordinate of the first point. number x2 The x-coordinate of the second point. number y2 The y-coordinate of th