Namespaces | |
| cocos2d | |
| cocos2d::experimental | |
| CocosDenshion | |
Classes | |
| class | AudioProfile |
| class | AudioEngine |
| Offers a interface to play audio. More... | |
| struct | AudioEngine::ProfileHelper |
| struct | AudioEngine::AudioInfo |
| class | SimpleAudioEngine |
| Offers a very simple interface to play background music & sound effects. More... | |
| class | PhysicsBody |
| A body affect by physics. More... | |
| class | PhysicsContact |
| Contact infomation. More... | |
| class | PhysicsContactPreSolve |
| Presolve value generated when onContactPreSolve called. More... | |
| class | PhysicsContactPostSolve |
| Postsolve value generated when onContactPostSolve called. More... | |
| class | EventListenerPhysicsContact |
| Contact listener. More... | |
| class | EventListenerPhysicsContactWithBodies |
| This event listener only be called when bodyA and bodyB have contacts. More... | |
| class | EventListenerPhysicsContactWithShapes |
| This event listener only be called when shapeA and shapeB have contacts. More... | |
| class | EventListenerPhysicsContactWithGroup |
| This event listener only be called when shapeA or shapeB is in the group your specified. More... | |
| class | PhysicsHelper |
| A physics helper class. More... | |
| class | PhysicsJoint |
| An PhysicsJoint object connects two physics bodies together. More... | |
| class | PhysicsJointFixed |
| A fixed joint fuses the two bodies together at a reference point. More... | |
| class | PhysicsJointLimit |
| A limit joint imposes a maximum distance between the two bodies, as if they were connected by a rope. More... | |
| class | PhysicsJointPin |
| A pin joint allows the two bodies to independently rotate around the anchor point as if pinned together. More... | |
| class | PhysicsJointDistance |
| Set the fixed distance with two bodies. More... | |
| class | PhysicsJointSpring |
| Connecting two physics bodies together with a spring. More... | |
| class | PhysicsJointGroove |
| Attach body a to a line, and attach body b to a dot. More... | |
| class | PhysicsJointRotarySpring |
| Likes a spring joint, but works with rotary. More... | |
| class | PhysicsJointRotaryLimit |
| Likes a limit joint, but works with rotary. More... | |
| class | PhysicsJointRatchet |
| Works like a socket wrench. More... | |
| class | PhysicsJointGear |
| Keeps the angular velocity ratio of a pair of bodies constant. More... | |
| class | PhysicsJointMotor |
| Keeps the relative angular velocity of a pair of bodies constant. More... | |
| class | PhysicsShape |
| A shape for body. More... | |
| class | PhysicsShapeCircle |
| A circle shape. More... | |
| class | PhysicsShapePolygon |
| A polygon shape. More... | |
| class | PhysicsShapeBox |
| A box shape. More... | |
| class | PhysicsShapeEdgeSegment |
| A segment shape. More... | |
| class | PhysicsShapeEdgePolygon |
| An edge polygon shape. More... | |
| class | PhysicsShapeEdgeBox |
| An edge box shape. More... | |
| class | PhysicsShapeEdgeChain |
| A chain shape. More... | |
| class | PhysicsWorld |
| An PhysicsWorld object simulates collisions and other physical properties. More... | |
| class | PhysicsDebugDraw |
| A physics helper class. More... | |
Enumerations | |
| enum | AudioState { ERROR = -1, INITIALZING, PLAYING, PAUSED } |
| AudioState enum,all possible states of an audio instance. More... | |
| enum | EventCode { NONE, BEGIN, PRESOLVE, POSTSOLVE, SEPERATE } |
| enum | Type { UNKNOWN, CIRCLE, BOX, POLYGEN, EDGESEGMENT, EDGEBOX, EDGEPOLYGEN, EDGECHAIN } |
Functions | |
| void CC_DLL | (const std::string &fullpath="") |
| Local Storage support for the JS Bindings. More... | |
| void CC_DLL | () |
| Frees the allocated resources. More... | |
| void CC_DLL | (const std::string &key, const std::string &value) |
| Sets an item in the JS. More... | |
| var | ( var key, var value) |
| Sets an item in the JS. More... | |
| local | ( local key, local value) |
| Sets an item in the JS. More... | |
Variables | |
| const float CC_DLL | PHYSICS_INFINITY |
| var | PHYSICS_INFINITY |
| local | PHYSICS_INFINITY |
|
strong |
|
strong |
|
strong |
| void CC_DLL localStorageInit | ( | const std::string & | fullpath = "" | ) |
Local Storage support for the JS Bindings.
Initializes the database. If path is null, it will create an in-memory DB.
| var localStorageInit | ( | var | fullpath = "" | ) |
Local Storage support for the JS Bindings.
Initializes the database. If path is null, it will create an in-memory DB.
| local localStorageInit | ( | local | fullpath = "" | ) |
Local Storage support for the JS Bindings.
Initializes the database. If path is null, it will create an in-memory DB.
| void CC_DLL localStorageFree | ( | ) |
Frees the allocated resources.
| var localStorageFree | ( | ) |
Frees the allocated resources.
| local localStorageFree | ( | ) |
Frees the allocated resources.
| void CC_DLL localStorageSetItem | ( | const std::string & | key, |
| const std::string & | value | ||
| ) |
Sets an item in the JS.
| var localStorageSetItem | ( | var | key, |
| var | value | ||
| ) |
Sets an item in the JS.
| local localStorageSetItem | ( | local | key, |
| local | value | ||
| ) |
Sets an item in the JS.
| const float CC_DLL PHYSICS_INFINITY |
| var PHYSICS_INFINITY |
| local PHYSICS_INFINITY |