Channel:peek

Channel:peek Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the value of a Channel message, but leaves it in the queue. It returns nil if there's no message in the queue. Function Synopsis value = Channel:peek( ) Arguments None. Returns Variant value The contents of the message. See Also Channel Channel:pop

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:getPreviousVertex

ChainShape:getPreviousVertex Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets the vertex that establishes a connection to the previous shape. Setting next and previous ChainShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape. Function Synopsis x, y = ChainShape:getPreviousVertex( ) Arguments None. Returns number x (nil) The x-component of the vertex, or nil if ChainShape:setPrevio