mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Rename love.physics getObjectList functions to getObjects (resolves #1305)
World:getBodyList -> World:getBodies World:getContactList -> World:getContacts World:getJointList -> World:getJoints Body:getFixtureList -> Body:getFixtures Body:getContactList -> Body:getContacts Body:getJointList -> Body:getJoints Marked the old functions as deprecated --HG-- branch : minor
This commit is contained in:
@@ -391,19 +391,19 @@ public:
|
||||
* Get an array of all the Fixtures attached to this Body.
|
||||
* @return An array of Fixtures.
|
||||
**/
|
||||
int getFixtureList(lua_State *L) const;
|
||||
int getFixtures(lua_State *L) const;
|
||||
|
||||
/**
|
||||
* Get an array of all Joints attached to this Body.
|
||||
**/
|
||||
int getJointList(lua_State *L) const;
|
||||
int getJoints(lua_State *L) const;
|
||||
|
||||
/**
|
||||
* Get an array of all active Contacts attached to this Body.
|
||||
* This list changes during World:update and you may miss some collisions
|
||||
* if you don't use the collision callbacks.
|
||||
**/
|
||||
int getContactList(lua_State *L) const;
|
||||
int getContacts(lua_State *L) const;
|
||||
|
||||
/**
|
||||
* Destroy this body.
|
||||
|
||||
Reference in New Issue
Block a user