joybox 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis.yml +3 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +4 -4
- data/README.md +66 -22
- data/Rakefile +22 -4
- data/app/ios/app_delegate.rb +48 -0
- data/app/osx/app_delegate.rb +26 -0
- data/app/osx/layers/game_layer.rb +5 -0
- data/app/osx/menu.rb +51 -0
- data/command/command/image.rb +26 -0
- data/command/command/string.rb +15 -0
- data/command/command/template.rb +59 -0
- data/command/command/tmx.rb +75 -0
- data/command/joybox_generate_command.rb +64 -110
- data/command/joybox_retina_command.rb +87 -0
- data/command/{joybox/templates → templates}/layer.erb +0 -0
- data/command/{joybox/templates → templates}/layer_spec.erb +0 -0
- data/command/{joybox/templates → templates}/scene.erb +0 -0
- data/command/{joybox/templates → templates}/scene_spec.erb +0 -0
- data/command/{joybox/templates → templates}/sprite.erb +0 -0
- data/command/{joybox/templates → templates}/sprite_spec.erb +0 -0
- data/ext/extconf.rb +34 -0
- data/joybox.gemspec +103 -50
- data/lib/joybox.rb +2 -0
- data/lib/joybox/joybox-ios.rb +18 -3
- data/lib/joybox/joybox-osx.rb +18 -2
- data/lib/joybox/version.rb +1 -1
- data/motion/joybox-ios/common/cg_point.rb +46 -16
- data/motion/joybox-ios/common/device.rb +56 -0
- data/motion/joybox-ios/common/ui_touch.rb +0 -2
- data/motion/joybox-ios/configuration/configuration.rb +10 -40
- data/motion/joybox-ios/configuration/file_utils.rb +0 -4
- data/motion/joybox-ios/configuration/gl_view.rb +14 -20
- data/motion/joybox-ios/configuration/texture_2d.rb +0 -4
- data/motion/joybox-ios/core/layer.rb +2 -8
- data/motion/joybox-ios/debug/proxy_view.rb +5 -5
- data/motion/joybox-ios/debug/{node.rb → repl.rb} +25 -19
- data/motion/joybox-ios/director.rb +15 -4
- data/motion/joybox-osx/common/ats_point.rb +45 -15
- data/motion/joybox-osx/common/device.rb +30 -0
- data/motion/joybox-osx/common/ns_event.rb +0 -1
- data/motion/joybox-osx/configuration/configuration.rb +6 -26
- data/motion/joybox-osx/configuration/gl_view.rb +16 -14
- data/motion/joybox-osx/core/layer.rb +45 -26
- data/motion/joybox-osx/debug/proxy_view.rb +5 -5
- data/motion/joybox-osx/debug/{node.rb → repl.rb} +13 -7
- data/motion/joybox-osx/director.rb +4 -3
- data/motion/joybox/actions/animate.rb +0 -1
- data/motion/joybox/actions/bezier.rb +2 -9
- data/motion/joybox/actions/blink.rb +1 -4
- data/motion/joybox/actions/callback.rb +19 -0
- data/motion/joybox/actions/d3/flip.rb +27 -0
- data/motion/joybox/actions/d3/jump.rb +30 -0
- data/motion/joybox/actions/d3/lens.rb +30 -0
- data/motion/joybox/actions/d3/shake.rb +32 -0
- data/motion/joybox/actions/d3/shatter.rb +30 -0
- data/motion/joybox/actions/d3/wave.rb +33 -0
- data/motion/joybox/actions/delay.rb +19 -0
- data/motion/joybox/actions/ease.rb +3 -21
- data/motion/joybox/actions/fade.rb +30 -6
- data/motion/joybox/actions/jump.rb +0 -5
- data/motion/joybox/actions/liquid.rb +28 -0
- data/motion/joybox/actions/move.rb +2 -9
- data/motion/joybox/actions/place.rb +0 -2
- data/motion/joybox/actions/repeat.rb +0 -2
- data/motion/joybox/actions/rotate.rb +2 -9
- data/motion/joybox/actions/scale.rb +2 -9
- data/motion/joybox/actions/sequence.rb +0 -1
- data/motion/joybox/actions/shuffle.rb +26 -0
- data/motion/joybox/actions/skew.rb +2 -11
- data/motion/joybox/actions/spawn.rb +0 -1
- data/motion/joybox/actions/split.rb +24 -0
- data/motion/joybox/actions/tint.rb +0 -5
- data/motion/joybox/actions/turn.rb +24 -0
- data/motion/joybox/actions/twirl.rb +30 -0
- data/motion/joybox/actions/visibility.rb +21 -0
- data/motion/joybox/actions/wave.rb +32 -0
- data/motion/joybox/animations/animation.rb +7 -11
- data/motion/joybox/audio/audio.rb +31 -0
- data/motion/joybox/audio/audio_effect.rb +69 -0
- data/motion/joybox/audio/background_audio.rb +77 -0
- data/motion/joybox/common/{gc_size.rb → cg_size.rb} +13 -12
- data/motion/joybox/common/color.rb +4 -13
- data/motion/joybox/common/initialize.rb +11 -0
- data/motion/joybox/common/ns_array.rb +15 -0
- data/motion/joybox/common/ns_string.rb +7 -0
- data/motion/joybox/common/numeric.rb +13 -4
- data/motion/joybox/common/screen.rb +4 -12
- data/motion/joybox/configuration/debug.rb +29 -0
- data/motion/joybox/core/layer.rb +0 -24
- data/motion/joybox/core/layer_color.rb +47 -0
- data/motion/joybox/core/node.rb +18 -8
- data/motion/joybox/core/scene.rb +0 -5
- data/motion/joybox/core/sprite.rb +43 -25
- data/motion/joybox/core/sprite_batch.rb +15 -6
- data/motion/joybox/core/sprite_frame_cache.rb +9 -58
- data/motion/joybox/debug/physics.rb +40 -0
- data/motion/joybox/debug/physics_draw.rb +191 -0
- data/motion/joybox/joybox.rb +9 -1
- data/motion/joybox/macros.rb +13 -13
- data/motion/joybox/physics/aabb.rb +28 -0
- data/motion/joybox/physics/body.rb +163 -68
- data/motion/joybox/physics/chain_shape.rb +71 -0
- data/motion/joybox/physics/circle_shape.rb +31 -0
- data/motion/joybox/physics/edge_shape.rb +37 -0
- data/motion/joybox/physics/filter.rb +17 -0
- data/motion/joybox/physics/fixture.rb +52 -0
- data/motion/joybox/physics/mass_data.rb +19 -0
- data/motion/joybox/physics/physics_sprite.rb +50 -16
- data/motion/joybox/physics/polygon_shape.rb +54 -0
- data/motion/joybox/physics/profile.rb +14 -0
- data/motion/joybox/physics/ray_cast_input.rb +30 -0
- data/motion/joybox/physics/ray_cast_output.rb +17 -0
- data/motion/joybox/physics/shape.rb +61 -0
- data/motion/joybox/physics/transform.rb +17 -0
- data/motion/joybox/physics/world.rb +101 -30
- data/motion/joybox/tmx/object_layer.rb +12 -0
- data/motion/joybox/tmx/tile_layer.rb +74 -0
- data/motion/joybox/tmx/tile_map.rb +112 -0
- data/motion/joybox/tmx/tile_set.rb +26 -0
- data/motion/joybox/tmx/tmx.rb +16 -0
- data/motion/joybox/ui/label.rb +44 -16
- data/motion/joybox/ui/menu.rb +7 -9
- data/motion/joybox/ui/menu_image.rb +11 -8
- data/motion/joybox/ui/menu_label.rb +14 -13
- data/resources/Default-568h@2x.png +0 -0
- data/resources/animation_frames-hd.plist +126 -0
- data/resources/animation_frames-ipadhd.plist +126 -0
- data/resources/animation_frames.plist +126 -0
- data/resources/animation_sprite_sheet-hd.png +0 -0
- data/resources/animation_sprite_sheet-ipadhd.png +0 -0
- data/resources/animation_sprite_sheet.png +0 -0
- data/resources/fps_images-hd.png +0 -0
- data/resources/fps_images-ipadhd.png +0 -0
- data/resources/fps_images.png +0 -0
- data/resources/sprite.png +0 -0
- data/resources/sprite_inverted.png +0 -0
- data/resources/sprite_sheet.png +0 -0
- data/spec/motion/joybox-ios/common/screen_spec.rb +21 -0
- data/spec/{main_spec.rb → motion/joybox-ios/main_spec.rb} +6 -2
- data/spec/motion/joybox-ios/ui/label_spec.rb +20 -0
- data/spec/motion/joybox-ios/ui/menu_label_spec.rb +15 -0
- data/spec/motion/joybox-ios/ui/menu_spec.rb +87 -0
- data/spec/motion/joybox-osx/common/screen_spec.rb +21 -0
- data/spec/motion/joybox-osx/main_spec.rb +13 -0
- data/spec/motion/joybox-osx/ui/label_spec.rb +18 -0
- data/spec/motion/joybox-osx/ui/menu_label_spec.rb +13 -0
- data/spec/motion/joybox-osx/ui/menu_spec.rb +87 -0
- data/spec/motion/joybox/actions/actions_spec.rb +11 -0
- data/spec/motion/joybox/actions/bezier_spec.rb +37 -0
- data/spec/motion/joybox/actions/blink_spec.rb +16 -0
- data/spec/motion/joybox/actions/fade_spec.rb +49 -0
- data/spec/motion/joybox/actions/jump_spec.rb +37 -0
- data/spec/motion/joybox/actions/move_spec.rb +37 -0
- data/spec/motion/joybox/actions/place_spec.rb +12 -0
- data/spec/motion/joybox/actions/rotate_spec.rb +35 -0
- data/spec/motion/joybox/actions/scale_spec.rb +43 -0
- data/spec/motion/joybox/actions/skew_spec.rb +43 -0
- data/spec/motion/joybox/common/cg_size_spec.rb +29 -0
- data/spec/motion/joybox/common/color_spec.rb +31 -0
- data/spec/motion/joybox/common/ns_string_spec.rb +8 -0
- data/spec/motion/joybox/common/numeric_spec.rb +13 -0
- data/spec/motion/joybox/core/node_spec.rb +36 -0
- data/spec/motion/joybox/core/sprite_batch_spec.rb +34 -0
- data/spec/motion/joybox/core/sprite_frame_cache_spec.rb +111 -0
- data/spec/motion/joybox/core/sprite_spec.rb +121 -0
- data/spec/motion/joybox/macros_spec.rb +280 -0
- data/spec/motion/joybox/physics/aabb_spec.rb +17 -0
- data/spec/motion/joybox/physics/body_spec.rb +318 -0
- data/spec/motion/joybox/physics/chain_shape_spec.rb +80 -0
- data/spec/motion/joybox/physics/circle_shape_spec.rb +63 -0
- data/spec/motion/joybox/physics/edge_shape_spec.rb +48 -0
- data/spec/motion/joybox/physics/fixture_spec.rb +106 -0
- data/spec/motion/joybox/physics/mass_data_spec.rb +13 -0
- data/spec/motion/joybox/physics/physics_sprite_spec.rb +50 -0
- data/spec/motion/joybox/physics/polygon_shape_spec.rb +92 -0
- data/spec/motion/joybox/physics/ray_cast_input_spec.rb +17 -0
- data/spec/motion/joybox/physics/ray_cast_output_spec.rb +13 -0
- data/spec/motion/joybox/physics/shape_spec.rb +50 -0
- data/spec/motion/joybox/physics/transform_spec.rb +13 -0
- data/spec/motion/joybox/physics/world_spec.rb +228 -0
- data/spec/motion/joybox/ui/label_spec.rb +53 -0
- data/spec/motion/joybox/ui/menu_image_spec.rb +51 -0
- data/spec/motion/joybox/ui/menu_label_spec.rb +68 -0
- data/spec/motion/joybox/ui/menu_spec.rb +26 -0
- data/spec/spec_helpers/cg_point.rb +5 -0
- data/spec/spec_helpers/cg_point_spec.rb +14 -0
- data/template/joybox-ios-example-repl/files/.gitignore +16 -0
- data/template/joybox-ios/files/.gitignore +16 -0
- data/template/joybox-osx-example-repl/files/.gitignore +16 -0
- data/template/joybox-osx/files/.gitignore +16 -0
- data/vendor/vendor-ios/box_2d/box_2d.bridgesupport +1201 -85
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DAABB.h +21 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DBody.h +58 -13
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DBodyDef.h +44 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DBodyTypes.h +20 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DChainShape.h +29 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DCircleShape.h +7 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DColor.h +23 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DContactFilter.h +24 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DContactListener.h +1 -1
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DDestructionListener.h +24 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DDraw.h +54 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DEdgeShape.h +13 -2
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DFilter.h +23 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DFixture.h +47 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DFixtureDef.h +29 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DMassData.h +23 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DPolygonShape.h +14 -1
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DProfile.h +31 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DQueryCallback.h +24 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastCallback.h +24 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastInput.h +23 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastOutput.h +21 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DShape.h +23 -3
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DShapeTypes.h +22 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DTransform.h +21 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DWorld.h +40 -19
- data/vendor/vendor-ios/box_2d/libBox2D.a +0 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d.bridgesupport +808 -1578
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCActionEase.h +47 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCFontDefinition.h +85 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCLabelTTF.h +54 -6
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCMenuItem.h +1 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCTMXLayer.h +2 -2
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCTexture2D.h +4 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/ccTypes.h +51 -1
- data/vendor/vendor-ios/cocos_2d/libcocos2d.a +0 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader.bridgesupport +510 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBAnimationManager.h +149 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBKeyframe.h +40 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBReader.h +176 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBSequence.h +49 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBSequenceProperty.h +38 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCNode+CCBRelativePositioning.h +65 -0
- data/vendor/vendor-ios/cocos_builder_reader/libCocosBuilderReader.a +0 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion.bridgesupport +1001 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDAudioManager.h +243 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDConfig.h +60 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDOpenALSupport.h +77 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDXMacOSXSupport.h +232 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDXPropertyModifierAction.h +45 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CocosDenshion.h +440 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/SimpleAudioEngine.h +90 -0
- data/vendor/vendor-ios/cocos_denshion/libCocosDenshion.a +0 -0
- data/vendor/vendor-ios/kazmath/kazmath.bridgesupport +865 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/GL/mat4stack.h +51 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/GL/matrix.h +58 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/aabb.h +53 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/kazmath.h +39 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/mat3.h +75 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/mat4.h +93 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/neon_matrix_impl.h +41 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/plane.h +70 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/quaternion.h +113 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/ray2.h +50 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/utility.h +74 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/vec2.h +64 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/vec3.h +68 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/vec4.h +68 -0
- data/vendor/vendor-ios/kazmath/libkazmath.a +0 -0
- data/vendor/vendor-osx/box_2d/box_2d.bridgesupport +1199 -83
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DAABB.h +21 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DBody.h +58 -13
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DBodyDef.h +44 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DBodyTypes.h +20 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DChainShape.h +29 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DCircleShape.h +7 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DColor.h +23 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DContactFilter.h +24 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DContactListener.h +1 -1
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DDestructionListener.h +24 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DDraw.h +54 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DEdgeShape.h +13 -2
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DFilter.h +23 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DFixture.h +47 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DFixtureDef.h +29 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DMassData.h +23 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DPolygonShape.h +14 -1
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DProfile.h +31 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DQueryCallback.h +24 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastCallback.h +24 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastInput.h +23 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastOutput.h +21 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DShape.h +23 -3
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DShapeTypes.h +22 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DTransform.h +21 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DWorld.h +40 -19
- data/vendor/vendor-osx/box_2d/libBox2D.a +0 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d.bridgesupport +2820 -2633
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCActionEase.h +47 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCFontDefinition.h +85 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCLabelTTF.h +54 -6
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCMenuItem.h +1 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCTMXLayer.h +2 -2
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCTexture2D.h +4 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCDirectorIOS.h +111 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCES2Renderer.h +83 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCESRenderer.h +54 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCGLView.h +175 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchDelegateProtocol.h +75 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchDispatcher.h +120 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchHandler.h +93 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/ccTypes.h +65 -1
- data/vendor/vendor-osx/cocos_2d/libcocos2d.a +0 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader.bridgesupport +510 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBAnimationManager.h +149 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBKeyframe.h +40 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBReader.h +176 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBSequence.h +49 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBSequenceProperty.h +38 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCNode+CCBRelativePositioning.h +65 -0
- data/vendor/vendor-osx/cocos_builder_reader/libCocosBuilderReader.a +0 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion.bridgesupport +1001 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDAudioManager.h +243 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDConfig.h +60 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDOpenALSupport.h +77 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDXMacOSXSupport.h +232 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDXPropertyModifierAction.h +45 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CocosDenshion.h +440 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/SimpleAudioEngine.h +90 -0
- data/vendor/vendor-osx/cocos_denshion/libCocosDenshion.a +0 -0
- data/vendor/vendor-osx/kazmath/kazmath.bridgesupport +865 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/GL/mat4stack.h +51 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/GL/matrix.h +58 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/aabb.h +53 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/kazmath.h +39 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/mat3.h +75 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/mat4.h +93 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/neon_matrix_impl.h +41 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/plane.h +70 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/quaternion.h +113 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/ray2.h +50 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/utility.h +74 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/vec2.h +64 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/vec3.h +68 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/vec4.h +68 -0
- data/vendor/vendor-osx/kazmath/libkazmath.a +0 -0
- metadata +353 -57
- checksums.yaml +0 -15
- data/bin/joybox +0 -49
- data/command/joybox/USAGE +0 -24
- data/motion/joybox-ios/configuration/debug.rb +0 -27
- data/motion/joybox-ios/debug/debug.rb +0 -10
- data/motion/joybox-osx/configuration/debug.rb +0 -27
- data/motion/joybox-osx/configuration/sprite_view.rb +0 -91
- data/motion/joybox-osx/debug/debug.rb +0 -10
- data/motion/joybox/core/ns_object.rb +0 -8
- data/spec/lib/joybox/cocos2d/cocos2d_spec.rb +0 -7
- data/spec/lib/joybox/cocos2d/macros_spec.rb +0 -37
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/cocos2d-ios-exceptions.bridgesupport +0 -39
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/gen_cocos2d_bridgesupport.sh +0 -17
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/gen_cocos2d_complement.sh +0 -17
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
shared Joybox::UI::Menu do
|
|
2
|
+
before do
|
|
3
|
+
@items = Array.new
|
|
4
|
+
|
|
5
|
+
@items << MenuLabel.new(text: 'Label')
|
|
6
|
+
@items << MenuLabel.new(text: 'Label2')
|
|
7
|
+
@items << MenuLabel.new(text: 'Label3')
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
describe "Initialization" do
|
|
11
|
+
it "should initialize with position & items" do
|
|
12
|
+
menu = Menu.new items: @items
|
|
13
|
+
menu.children.count.should == @items.size
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
it "should add new items" do
|
|
18
|
+
menu = Menu.new items: @items
|
|
19
|
+
menu.children.count.should == @items.size
|
|
20
|
+
|
|
21
|
+
menu << MenuLabel.new(text: 'Label4')
|
|
22
|
+
menu << MenuLabel.new(text: 'Label5')
|
|
23
|
+
|
|
24
|
+
menu.children.count.should == @items.size + 2
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
describe "CGPoint Matchers" do
|
|
2
|
+
it "should determinate if two points are close using a delta" do
|
|
3
|
+
point_one = CGPointMake(100, 100)
|
|
4
|
+
point_two = CGPointMake(200, 200)
|
|
5
|
+
|
|
6
|
+
point_one.should.be.close point_two, 100
|
|
7
|
+
point_one.should.not.be.close point_two, 50
|
|
8
|
+
|
|
9
|
+
point_two.should.be.close point_one, 100
|
|
10
|
+
point_two.should.not.be.close point_one, 50
|
|
11
|
+
|
|
12
|
+
point_one.should.be.close point_one, 0
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -1,176 +1,1292 @@
|
|
|
1
1
|
<?xml version='1.0'?>
|
|
2
2
|
<signatures version='1.0'>
|
|
3
|
-
<enum
|
|
4
|
-
<enum
|
|
5
|
-
<enum
|
|
3
|
+
<enum value='4' name='kAABBDrawFlag'/>
|
|
4
|
+
<enum value='16' name='kCenterOfMassDrawFlag'/>
|
|
5
|
+
<enum value='3' name='kChainShapeType'/>
|
|
6
|
+
<enum value='0' name='kCircleShapeType'/>
|
|
7
|
+
<enum value='2' name='kDynamicBodyType'/>
|
|
8
|
+
<enum value='1' name='kEdgeShapeType'/>
|
|
9
|
+
<enum value='2' name='kJointDrawFlag'/>
|
|
10
|
+
<enum value='1' name='kKinematicBodyType'/>
|
|
11
|
+
<enum value='8' name='kPairDrawFlag'/>
|
|
12
|
+
<enum value='2' name='kPolygonShapeType'/>
|
|
13
|
+
<enum value='1' name='kShapeDrawFlag'/>
|
|
14
|
+
<enum value='0' name='kStaticBodyType'/>
|
|
15
|
+
<enum value='4' name='kTypeCountShapeType'/>
|
|
16
|
+
<class name='B2DAABB'>
|
|
17
|
+
<method selector='initWithAABB:'>
|
|
18
|
+
<arg index='0' type='@' declared_type='id' name='aabb'/>
|
|
19
|
+
<retval type='@' declared_type='id'/>
|
|
20
|
+
</method>
|
|
21
|
+
<method selector='lowerBound'>
|
|
22
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
23
|
+
</method>
|
|
24
|
+
<method selector='setLowerBound:'>
|
|
25
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='lowerBound'/>
|
|
26
|
+
<retval type='v' declared_type='void'/>
|
|
27
|
+
</method>
|
|
28
|
+
<method selector='setUpperBound:'>
|
|
29
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='upperBound'/>
|
|
30
|
+
<retval type='v' declared_type='void'/>
|
|
31
|
+
</method>
|
|
32
|
+
<method selector='upperBound'>
|
|
33
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
34
|
+
</method>
|
|
35
|
+
</class>
|
|
6
36
|
<class name='B2DBody'>
|
|
7
37
|
<method selector='addFixtureForShape:friction:restitution:density:isSensor:'>
|
|
8
|
-
<arg
|
|
9
|
-
<arg
|
|
10
|
-
<arg
|
|
11
|
-
<arg
|
|
12
|
-
<arg
|
|
13
|
-
<retval
|
|
38
|
+
<arg index='0' type='@' declared_type='B2DShape*' name='shape'/>
|
|
39
|
+
<arg index='1' type='f' declared_type='CGFloat' name='friction'/>
|
|
40
|
+
<arg index='2' type='f' declared_type='CGFloat' name='restitution'/>
|
|
41
|
+
<arg index='3' type='f' declared_type='CGFloat' name='density'/>
|
|
42
|
+
<arg index='4' type='B' declared_type='BOOL' name='isSensor'/>
|
|
43
|
+
<retval type='v' declared_type='void'/>
|
|
14
44
|
</method>
|
|
15
45
|
<method selector='angle'>
|
|
16
|
-
<retval
|
|
46
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
47
|
+
</method>
|
|
48
|
+
<method selector='angularDamping'>
|
|
49
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
50
|
+
</method>
|
|
51
|
+
<method selector='angularVelocity'>
|
|
52
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
53
|
+
</method>
|
|
54
|
+
<method selector='applyAngularImpulse:'>
|
|
55
|
+
<arg index='0' type='f' declared_type='CGFloat' name='impulse'/>
|
|
56
|
+
<retval type='v' declared_type='void'/>
|
|
17
57
|
</method>
|
|
18
58
|
<method selector='applyForce:atLocation:asImpulse:'>
|
|
19
|
-
<arg
|
|
20
|
-
<arg
|
|
21
|
-
<arg
|
|
22
|
-
<retval
|
|
59
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='force'/>
|
|
60
|
+
<arg index='1' type='{CGPoint=ff}' declared_type='CGPoint' name='location'/>
|
|
61
|
+
<arg index='2' type='B' declared_type='BOOL' name='asImpulse'/>
|
|
62
|
+
<retval type='v' declared_type='void'/>
|
|
63
|
+
</method>
|
|
64
|
+
<method selector='applyForce:atPoint:'>
|
|
65
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='force'/>
|
|
66
|
+
<arg index='1' type='{CGPoint=ff}' declared_type='CGPoint' name='point'/>
|
|
67
|
+
<retval type='v' declared_type='void'/>
|
|
68
|
+
</method>
|
|
69
|
+
<method selector='applyForceToCenter:'>
|
|
70
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='force'/>
|
|
71
|
+
<retval type='v' declared_type='void'/>
|
|
72
|
+
</method>
|
|
73
|
+
<method selector='applyLinearImpulse:atPoint:'>
|
|
74
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='impulse'/>
|
|
75
|
+
<arg index='1' type='{CGPoint=ff}' declared_type='CGPoint' name='point'/>
|
|
76
|
+
<retval type='v' declared_type='void'/>
|
|
77
|
+
</method>
|
|
78
|
+
<method selector='applyTorque:'>
|
|
79
|
+
<arg index='0' type='f' declared_type='CGFloat' name='torque'/>
|
|
80
|
+
<retval type='v' declared_type='void'/>
|
|
23
81
|
</method>
|
|
24
82
|
<method selector='applyTorque:asImpulse:'>
|
|
25
|
-
<arg
|
|
26
|
-
<arg
|
|
27
|
-
<retval
|
|
83
|
+
<arg index='0' type='f' declared_type='CGFloat' name='torque'/>
|
|
84
|
+
<arg index='1' type='B' declared_type='BOOL' name='impulse'/>
|
|
85
|
+
<retval type='v' declared_type='void'/>
|
|
86
|
+
</method>
|
|
87
|
+
<method selector='awake'>
|
|
88
|
+
<retval type='B' declared_type='_Bool'/>
|
|
28
89
|
</method>
|
|
29
90
|
<method selector='body'>
|
|
30
|
-
<retval
|
|
91
|
+
<retval type='^i' declared_type='int*'/>
|
|
92
|
+
</method>
|
|
93
|
+
<method selector='bullet'>
|
|
94
|
+
<retval type='B' declared_type='_Bool'/>
|
|
31
95
|
</method>
|
|
32
96
|
<method selector='center'>
|
|
33
|
-
<retval
|
|
97
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
98
|
+
</method>
|
|
99
|
+
<method selector='createFixture:'>
|
|
100
|
+
<arg index='0' type='@' declared_type='B2DFixtureDef*' name='fixtureDefinition'/>
|
|
101
|
+
<retval type='v' declared_type='void'/>
|
|
102
|
+
</method>
|
|
103
|
+
<method selector='createFixtureWithShape:andDensity:'>
|
|
104
|
+
<arg index='0' type='@' declared_type='B2DShape*' name='shape'/>
|
|
105
|
+
<arg index='1' type='f' declared_type='CGFloat' name='density'/>
|
|
106
|
+
<retval type='v' declared_type='void'/>
|
|
107
|
+
</method>
|
|
108
|
+
<method selector='destroyFixture:'>
|
|
109
|
+
<arg index='0' type='@' declared_type='B2DFixture*' name='fixture'/>
|
|
110
|
+
<retval type='v' declared_type='void'/>
|
|
111
|
+
</method>
|
|
112
|
+
<method selector='dump'>
|
|
113
|
+
<retval type='v' declared_type='void'/>
|
|
114
|
+
</method>
|
|
115
|
+
<method selector='fixedRotation'>
|
|
116
|
+
<retval type='B' declared_type='_Bool'/>
|
|
117
|
+
</method>
|
|
118
|
+
<method selector='fixtureList'>
|
|
119
|
+
<retval type='@' declared_type='NSArray*'/>
|
|
120
|
+
</method>
|
|
121
|
+
<method selector='gravityScale'>
|
|
122
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
123
|
+
</method>
|
|
124
|
+
<method selector='inertia'>
|
|
125
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
34
126
|
</method>
|
|
35
127
|
<method selector='initWithBody:'>
|
|
36
|
-
<arg
|
|
37
|
-
<retval
|
|
128
|
+
<arg index='0' type='@' declared_type='id' name='boxBody'/>
|
|
129
|
+
<retval type='@' declared_type='id'/>
|
|
130
|
+
</method>
|
|
131
|
+
<method selector='isActive'>
|
|
132
|
+
<retval type='B' declared_type='_Bool'/>
|
|
133
|
+
</method>
|
|
134
|
+
<method selector='isAwake'>
|
|
135
|
+
<retval type='B' declared_type='_Bool'/>
|
|
136
|
+
</method>
|
|
137
|
+
<method selector='isBullet'>
|
|
138
|
+
<retval type='B' declared_type='_Bool'/>
|
|
139
|
+
</method>
|
|
140
|
+
<method selector='isEqualToBody:'>
|
|
141
|
+
<arg index='0' type='@' declared_type='B2DBody*' name='aBody'/>
|
|
142
|
+
<retval type='B' declared_type='_Bool'/>
|
|
143
|
+
</method>
|
|
144
|
+
<method selector='isFixedRotation'>
|
|
145
|
+
<retval type='B' declared_type='_Bool'/>
|
|
38
146
|
</method>
|
|
39
147
|
<method selector='isSleepingAllowed'>
|
|
40
|
-
<retval
|
|
148
|
+
<retval type='B' declared_type='_Bool'/>
|
|
149
|
+
</method>
|
|
150
|
+
<method selector='linearDamping'>
|
|
151
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
152
|
+
</method>
|
|
153
|
+
<method selector='linearVelocity'>
|
|
154
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
155
|
+
</method>
|
|
156
|
+
<method selector='linearVelocityFromLocalPoint:'>
|
|
157
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='localPoint'/>
|
|
158
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
159
|
+
</method>
|
|
160
|
+
<method selector='linearVelocityFromWorldPoint:'>
|
|
161
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='worldPoint'/>
|
|
162
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
163
|
+
</method>
|
|
164
|
+
<method selector='localCenter'>
|
|
165
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
166
|
+
</method>
|
|
167
|
+
<method selector='localPoint:'>
|
|
168
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='worldPoint'/>
|
|
169
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
170
|
+
</method>
|
|
171
|
+
<method selector='localVector:'>
|
|
172
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='worldVector'/>
|
|
173
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
174
|
+
</method>
|
|
175
|
+
<method selector='mass'>
|
|
176
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
177
|
+
</method>
|
|
178
|
+
<method selector='massData'>
|
|
179
|
+
<retval type='@' declared_type='B2DMassData*'/>
|
|
180
|
+
</method>
|
|
181
|
+
<method selector='next'>
|
|
182
|
+
<retval type='@' declared_type='B2DBody*'/>
|
|
41
183
|
</method>
|
|
42
184
|
<method selector='position'>
|
|
43
|
-
<retval
|
|
185
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
186
|
+
</method>
|
|
187
|
+
<method selector='resetMassData'>
|
|
188
|
+
<retval type='v' declared_type='void'/>
|
|
189
|
+
</method>
|
|
190
|
+
<method selector='setAngularDamping:'>
|
|
191
|
+
<arg index='0' type='f' declared_type='CGFloat' name='angularDamping'/>
|
|
192
|
+
<retval type='v' declared_type='void'/>
|
|
193
|
+
</method>
|
|
194
|
+
<method selector='setAngularVelocity:'>
|
|
195
|
+
<arg index='0' type='f' declared_type='CGFloat' name='angularVelocity'/>
|
|
196
|
+
<retval type='v' declared_type='void'/>
|
|
197
|
+
</method>
|
|
198
|
+
<method selector='setAwake:'>
|
|
199
|
+
<arg index='0' type='B' declared_type='_Bool' name='awake'/>
|
|
200
|
+
<retval type='v' declared_type='void'/>
|
|
44
201
|
</method>
|
|
45
202
|
<method selector='setBody:'>
|
|
46
|
-
<arg
|
|
47
|
-
<retval
|
|
203
|
+
<arg index='0' type='^i' declared_type='int*' name='body'/>
|
|
204
|
+
<retval type='v' declared_type='void'/>
|
|
205
|
+
</method>
|
|
206
|
+
<method selector='setBullet:'>
|
|
207
|
+
<arg index='0' type='B' declared_type='_Bool' name='bullet'/>
|
|
208
|
+
<retval type='v' declared_type='void'/>
|
|
209
|
+
</method>
|
|
210
|
+
<method selector='setFixedRotation:'>
|
|
211
|
+
<arg index='0' type='B' declared_type='_Bool' name='fixedRotation'/>
|
|
212
|
+
<retval type='v' declared_type='void'/>
|
|
213
|
+
</method>
|
|
214
|
+
<method selector='setGravityScale:'>
|
|
215
|
+
<arg index='0' type='f' declared_type='CGFloat' name='gravityScale'/>
|
|
216
|
+
<retval type='v' declared_type='void'/>
|
|
217
|
+
</method>
|
|
218
|
+
<method selector='setLinearDamping:'>
|
|
219
|
+
<arg index='0' type='f' declared_type='CGFloat' name='linearDamping'/>
|
|
220
|
+
<retval type='v' declared_type='void'/>
|
|
221
|
+
</method>
|
|
222
|
+
<method selector='setLinearVelocity:'>
|
|
223
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='linearVelocity'/>
|
|
224
|
+
<retval type='v' declared_type='void'/>
|
|
225
|
+
</method>
|
|
226
|
+
<method selector='setMassData:'>
|
|
227
|
+
<arg index='0' type='@' declared_type='B2DMassData*' name='massData'/>
|
|
228
|
+
<retval type='v' declared_type='void'/>
|
|
48
229
|
</method>
|
|
49
230
|
<method selector='setPosition:'>
|
|
50
|
-
<arg
|
|
51
|
-
<retval
|
|
231
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='position'/>
|
|
232
|
+
<retval type='v' declared_type='void'/>
|
|
52
233
|
</method>
|
|
53
234
|
<method selector='setSleepingAllowed:'>
|
|
54
|
-
<arg
|
|
55
|
-
<retval
|
|
235
|
+
<arg index='0' type='B' declared_type='_Bool' name='sleepingAllowed'/>
|
|
236
|
+
<retval type='v' declared_type='void'/>
|
|
237
|
+
</method>
|
|
238
|
+
<method selector='setTransformWithPosition:andAngle:'>
|
|
239
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='position'/>
|
|
240
|
+
<arg index='1' type='f' declared_type='CGFloat' name='angle'/>
|
|
241
|
+
<retval type='v' declared_type='void'/>
|
|
242
|
+
</method>
|
|
243
|
+
<method selector='setType:'>
|
|
244
|
+
<arg index='0' type='i' declared_type='B2DBodyTypes' name='type'/>
|
|
245
|
+
<retval type='v' declared_type='void'/>
|
|
246
|
+
</method>
|
|
247
|
+
<method selector='setUserData:'>
|
|
248
|
+
<arg index='0' type='@' declared_type='id' name='userData'/>
|
|
249
|
+
<retval type='v' declared_type='void'/>
|
|
250
|
+
</method>
|
|
251
|
+
<method selector='sleepingAllowed'>
|
|
252
|
+
<retval type='B' declared_type='_Bool'/>
|
|
253
|
+
</method>
|
|
254
|
+
<method selector='transform'>
|
|
255
|
+
<retval type='@' declared_type='B2DTransform*'/>
|
|
256
|
+
</method>
|
|
257
|
+
<method selector='type'>
|
|
258
|
+
<retval type='i' declared_type='B2DBodyTypes'/>
|
|
259
|
+
</method>
|
|
260
|
+
<method selector='userData'>
|
|
261
|
+
<retval type='@' declared_type='id'/>
|
|
262
|
+
</method>
|
|
263
|
+
<method selector='worldCenter'>
|
|
264
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
265
|
+
</method>
|
|
266
|
+
<method selector='worldPoint:'>
|
|
267
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='localPoint'/>
|
|
268
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
269
|
+
</method>
|
|
270
|
+
<method selector='worldVector:'>
|
|
271
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='localVector'/>
|
|
272
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
273
|
+
</method>
|
|
274
|
+
</class>
|
|
275
|
+
<class name='B2DBodyDef'>
|
|
276
|
+
<method selector='active'>
|
|
277
|
+
<retval type='B' declared_type='_Bool'/>
|
|
278
|
+
</method>
|
|
279
|
+
<method selector='allowSleep'>
|
|
280
|
+
<retval type='B' declared_type='_Bool'/>
|
|
281
|
+
</method>
|
|
282
|
+
<method selector='angle'>
|
|
283
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
284
|
+
</method>
|
|
285
|
+
<method selector='angularDamping'>
|
|
286
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
287
|
+
</method>
|
|
288
|
+
<method selector='angularVelocity'>
|
|
289
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
290
|
+
</method>
|
|
291
|
+
<method selector='awake'>
|
|
292
|
+
<retval type='B' declared_type='_Bool'/>
|
|
293
|
+
</method>
|
|
294
|
+
<method selector='bullet'>
|
|
295
|
+
<retval type='B' declared_type='_Bool'/>
|
|
296
|
+
</method>
|
|
297
|
+
<method selector='fixedRotation'>
|
|
298
|
+
<retval type='B' declared_type='_Bool'/>
|
|
299
|
+
</method>
|
|
300
|
+
<method selector='gravityScale'>
|
|
301
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
302
|
+
</method>
|
|
303
|
+
<method selector='initWithBodyDef:'>
|
|
304
|
+
<arg index='0' type='@' declared_type='id' name='bodyDef'/>
|
|
305
|
+
<retval type='@' declared_type='id'/>
|
|
306
|
+
</method>
|
|
307
|
+
<method selector='linearDamping'>
|
|
308
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
309
|
+
</method>
|
|
310
|
+
<method selector='linearVelocity'>
|
|
311
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
312
|
+
</method>
|
|
313
|
+
<method selector='position'>
|
|
314
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
315
|
+
</method>
|
|
316
|
+
<method selector='setActive:'>
|
|
317
|
+
<arg index='0' type='B' declared_type='_Bool' name='active'/>
|
|
318
|
+
<retval type='v' declared_type='void'/>
|
|
319
|
+
</method>
|
|
320
|
+
<method selector='setAllowSleep:'>
|
|
321
|
+
<arg index='0' type='B' declared_type='_Bool' name='allowSleep'/>
|
|
322
|
+
<retval type='v' declared_type='void'/>
|
|
323
|
+
</method>
|
|
324
|
+
<method selector='setAngle:'>
|
|
325
|
+
<arg index='0' type='f' declared_type='CGFloat' name='angle'/>
|
|
326
|
+
<retval type='v' declared_type='void'/>
|
|
327
|
+
</method>
|
|
328
|
+
<method selector='setAngularDamping:'>
|
|
329
|
+
<arg index='0' type='f' declared_type='CGFloat' name='angularDamping'/>
|
|
330
|
+
<retval type='v' declared_type='void'/>
|
|
331
|
+
</method>
|
|
332
|
+
<method selector='setAngularVelocity:'>
|
|
333
|
+
<arg index='0' type='f' declared_type='CGFloat' name='angularVelocity'/>
|
|
334
|
+
<retval type='v' declared_type='void'/>
|
|
335
|
+
</method>
|
|
336
|
+
<method selector='setAwake:'>
|
|
337
|
+
<arg index='0' type='B' declared_type='_Bool' name='awake'/>
|
|
338
|
+
<retval type='v' declared_type='void'/>
|
|
339
|
+
</method>
|
|
340
|
+
<method selector='setBullet:'>
|
|
341
|
+
<arg index='0' type='B' declared_type='_Bool' name='bullet'/>
|
|
342
|
+
<retval type='v' declared_type='void'/>
|
|
343
|
+
</method>
|
|
344
|
+
<method selector='setFixedRotation:'>
|
|
345
|
+
<arg index='0' type='B' declared_type='_Bool' name='fixedRotation'/>
|
|
346
|
+
<retval type='v' declared_type='void'/>
|
|
347
|
+
</method>
|
|
348
|
+
<method selector='setGravityScale:'>
|
|
349
|
+
<arg index='0' type='f' declared_type='CGFloat' name='gravityScale'/>
|
|
350
|
+
<retval type='v' declared_type='void'/>
|
|
351
|
+
</method>
|
|
352
|
+
<method selector='setLinearDamping:'>
|
|
353
|
+
<arg index='0' type='f' declared_type='CGFloat' name='linearDamping'/>
|
|
354
|
+
<retval type='v' declared_type='void'/>
|
|
355
|
+
</method>
|
|
356
|
+
<method selector='setLinearVelocity:'>
|
|
357
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='linearVelocity'/>
|
|
358
|
+
<retval type='v' declared_type='void'/>
|
|
359
|
+
</method>
|
|
360
|
+
<method selector='setPosition:'>
|
|
361
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='position'/>
|
|
362
|
+
<retval type='v' declared_type='void'/>
|
|
363
|
+
</method>
|
|
364
|
+
<method selector='setType:'>
|
|
365
|
+
<arg index='0' type='i' declared_type='B2DBodyTypes' name='type'/>
|
|
366
|
+
<retval type='v' declared_type='void'/>
|
|
367
|
+
</method>
|
|
368
|
+
<method selector='type'>
|
|
369
|
+
<retval type='i' declared_type='B2DBodyTypes'/>
|
|
370
|
+
</method>
|
|
371
|
+
</class>
|
|
372
|
+
<class name='B2DChainShape'>
|
|
373
|
+
<method selector='createChainWithVertices:andVertexCount:'>
|
|
374
|
+
<arg index='0' type='^{CGPoint=ff}' declared_type='CGPoint*' name='vertices'/>
|
|
375
|
+
<arg index='1' type='i' declared_type='NSInteger' name='vertexCount'/>
|
|
376
|
+
<retval type='v' declared_type='void'/>
|
|
377
|
+
</method>
|
|
378
|
+
<method selector='createLoopWithVertices:andVertexCount:'>
|
|
379
|
+
<arg index='0' type='^{CGPoint=ff}' declared_type='CGPoint*' name='vertices'/>
|
|
380
|
+
<arg index='1' type='i' declared_type='NSInteger' name='vertexCount'/>
|
|
381
|
+
<retval type='v' declared_type='void'/>
|
|
382
|
+
</method>
|
|
383
|
+
<method selector='getChildEdge:withIndex:'>
|
|
384
|
+
<arg index='0' type='@' declared_type='B2DEdgeShape*' name='edgeShape'/>
|
|
385
|
+
<arg index='1' type='i' declared_type='NSInteger' name='index'/>
|
|
386
|
+
<retval type='v' declared_type='void'/>
|
|
387
|
+
</method>
|
|
388
|
+
<method selector='hasNextVertex'>
|
|
389
|
+
<retval type='B' declared_type='_Bool'/>
|
|
390
|
+
</method>
|
|
391
|
+
<method selector='hasPreviousVertex'>
|
|
392
|
+
<retval type='B' declared_type='_Bool'/>
|
|
393
|
+
</method>
|
|
394
|
+
<method selector='nextVertex'>
|
|
395
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
396
|
+
</method>
|
|
397
|
+
<method selector='previousVertex'>
|
|
398
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
399
|
+
</method>
|
|
400
|
+
<method selector='setNextVertex:'>
|
|
401
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='vertex'/>
|
|
402
|
+
<retval type='v' declared_type='void'/>
|
|
403
|
+
</method>
|
|
404
|
+
<method selector='setPreviousVertex:'>
|
|
405
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='vertex'/>
|
|
406
|
+
<retval type='v' declared_type='void'/>
|
|
407
|
+
</method>
|
|
408
|
+
<method selector='vertexCount'>
|
|
409
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
410
|
+
</method>
|
|
411
|
+
<method selector='vertices'>
|
|
412
|
+
<retval type='^{CGPoint=ff}' declared_type='CGPoint*'/>
|
|
56
413
|
</method>
|
|
57
414
|
</class>
|
|
58
415
|
<class name='B2DCircleShape'>
|
|
416
|
+
<method selector='getSupport:'>
|
|
417
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='direction'/>
|
|
418
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
419
|
+
</method>
|
|
420
|
+
<method selector='getSupportVertex:'>
|
|
421
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='direction'/>
|
|
422
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
423
|
+
</method>
|
|
424
|
+
<method selector='getVertex:'>
|
|
425
|
+
<arg index='0' type='i' declared_type='NSInteger' name='index'/>
|
|
426
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
427
|
+
</method>
|
|
59
428
|
<method selector='initWithRadius:'>
|
|
60
|
-
<arg
|
|
61
|
-
<retval
|
|
429
|
+
<arg index='0' type='f' declared_type='CGFloat' name='radius'/>
|
|
430
|
+
<retval type='@' declared_type='id'/>
|
|
431
|
+
</method>
|
|
432
|
+
<method selector='position'>
|
|
433
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
434
|
+
</method>
|
|
435
|
+
<method selector='vertexCount'>
|
|
436
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
437
|
+
</method>
|
|
438
|
+
</class>
|
|
439
|
+
<class name='B2DColor'>
|
|
440
|
+
<method selector='blue'>
|
|
441
|
+
<retval type='f' declared_type='Float32'/>
|
|
442
|
+
</method>
|
|
443
|
+
<method selector='green'>
|
|
444
|
+
<retval type='f' declared_type='Float32'/>
|
|
445
|
+
</method>
|
|
446
|
+
<method selector='initWithColor:'>
|
|
447
|
+
<arg index='0' type='@' declared_type='id' name='color'/>
|
|
448
|
+
<retval type='@' declared_type='id'/>
|
|
449
|
+
</method>
|
|
450
|
+
<method selector='red'>
|
|
451
|
+
<retval type='f' declared_type='Float32'/>
|
|
452
|
+
</method>
|
|
453
|
+
<method selector='setBlue:'>
|
|
454
|
+
<arg index='0' type='f' declared_type='Float32' name='blue'/>
|
|
455
|
+
<retval type='v' declared_type='void'/>
|
|
456
|
+
</method>
|
|
457
|
+
<method selector='setGreen:'>
|
|
458
|
+
<arg index='0' type='f' declared_type='Float32' name='green'/>
|
|
459
|
+
<retval type='v' declared_type='void'/>
|
|
460
|
+
</method>
|
|
461
|
+
<method selector='setRed:'>
|
|
462
|
+
<arg index='0' type='f' declared_type='Float32' name='red'/>
|
|
463
|
+
<retval type='v' declared_type='void'/>
|
|
464
|
+
</method>
|
|
465
|
+
</class>
|
|
466
|
+
<class name='B2DContactFilter'>
|
|
467
|
+
<method selector='contactFilter'>
|
|
468
|
+
<retval type='^i' declared_type='int*'/>
|
|
469
|
+
</method>
|
|
470
|
+
<method selector='setContactFilter:'>
|
|
471
|
+
<arg index='0' type='^i' declared_type='int*' name='contactFilter'/>
|
|
472
|
+
<retval type='v' declared_type='void'/>
|
|
473
|
+
</method>
|
|
474
|
+
<method selector='setShouldCollide:'>
|
|
475
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='shouldCollideCallback' name='shouldCollide'>
|
|
476
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
477
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
478
|
+
<retval type='B' declared_type='_Bool'/>
|
|
479
|
+
</arg>
|
|
480
|
+
<retval type='v' declared_type='void'/>
|
|
481
|
+
</method>
|
|
482
|
+
<method selector='shouldCollide'>
|
|
483
|
+
<retval type='@?' function_pointer='true' declared_type='shouldCollideCallback'>
|
|
484
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
485
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
486
|
+
<retval type='B' declared_type='_Bool'/>
|
|
487
|
+
</retval>
|
|
62
488
|
</method>
|
|
63
489
|
</class>
|
|
64
490
|
<class name='B2DContactListener'>
|
|
65
491
|
<method selector='beginContact'>
|
|
66
|
-
<retval
|
|
67
|
-
<arg
|
|
68
|
-
<arg
|
|
69
|
-
<arg
|
|
70
|
-
<retval
|
|
492
|
+
<retval type='@?' function_pointer='true' declared_type='beginContactCallback'>
|
|
493
|
+
<arg type='@' declared_type='B2DBody*'/>
|
|
494
|
+
<arg type='@' declared_type='B2DBody*'/>
|
|
495
|
+
<arg type='B' declared_type='_Bool'/>
|
|
496
|
+
<retval type='v' declared_type='void'/>
|
|
71
497
|
</retval>
|
|
72
498
|
</method>
|
|
73
499
|
<method selector='contactListener'>
|
|
74
|
-
<retval
|
|
500
|
+
<retval type='^i' declared_type='int*'/>
|
|
75
501
|
</method>
|
|
76
502
|
<method selector='endContact'>
|
|
77
|
-
<retval
|
|
78
|
-
<arg
|
|
79
|
-
<arg
|
|
80
|
-
<retval
|
|
503
|
+
<retval type='@?' function_pointer='true' declared_type='endContactCallback'>
|
|
504
|
+
<arg type='@' declared_type='B2DBody*'/>
|
|
505
|
+
<arg type='@' declared_type='B2DBody*'/>
|
|
506
|
+
<retval type='v' declared_type='void'/>
|
|
81
507
|
</retval>
|
|
82
508
|
</method>
|
|
83
509
|
<method selector='setBeginContact:'>
|
|
84
|
-
<arg
|
|
85
|
-
<arg
|
|
86
|
-
<arg
|
|
87
|
-
<arg
|
|
88
|
-
<retval
|
|
510
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='beginContactCallback' name='beginContact'>
|
|
511
|
+
<arg type='@' declared_type='B2DBody*'/>
|
|
512
|
+
<arg type='@' declared_type='B2DBody*'/>
|
|
513
|
+
<arg type='B' declared_type='_Bool'/>
|
|
514
|
+
<retval type='v' declared_type='void'/>
|
|
89
515
|
</arg>
|
|
90
|
-
<retval
|
|
516
|
+
<retval type='v' declared_type='void'/>
|
|
91
517
|
</method>
|
|
92
518
|
<method selector='setContactListener:'>
|
|
93
|
-
<arg
|
|
94
|
-
<retval
|
|
519
|
+
<arg index='0' type='^i' declared_type='int*' name='contactListener'/>
|
|
520
|
+
<retval type='v' declared_type='void'/>
|
|
95
521
|
</method>
|
|
96
522
|
<method selector='setEndContact:'>
|
|
97
|
-
<arg
|
|
98
|
-
<arg
|
|
99
|
-
<arg
|
|
100
|
-
<retval
|
|
523
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='endContactCallback' name='endContact'>
|
|
524
|
+
<arg type='@' declared_type='B2DBody*'/>
|
|
525
|
+
<arg type='@' declared_type='B2DBody*'/>
|
|
526
|
+
<retval type='v' declared_type='void'/>
|
|
527
|
+
</arg>
|
|
528
|
+
<retval type='v' declared_type='void'/>
|
|
529
|
+
</method>
|
|
530
|
+
</class>
|
|
531
|
+
<class name='B2DDestructionListener'>
|
|
532
|
+
<method selector='destructionListener'>
|
|
533
|
+
<retval type='^i' declared_type='int*'/>
|
|
534
|
+
</method>
|
|
535
|
+
<method selector='fixtureSayGoodbye'>
|
|
536
|
+
<retval type='@?' function_pointer='true' declared_type='fixtureSayGoodbyeCallback'>
|
|
537
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
538
|
+
<retval type='v' declared_type='void'/>
|
|
539
|
+
</retval>
|
|
540
|
+
</method>
|
|
541
|
+
<method selector='setDestructionListener:'>
|
|
542
|
+
<arg index='0' type='^i' declared_type='int*' name='destructionListener'/>
|
|
543
|
+
<retval type='v' declared_type='void'/>
|
|
544
|
+
</method>
|
|
545
|
+
<method selector='setFixtureSayGoodbye:'>
|
|
546
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='fixtureSayGoodbyeCallback' name='fixtureSayGoodbye'>
|
|
547
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
548
|
+
<retval type='v' declared_type='void'/>
|
|
549
|
+
</arg>
|
|
550
|
+
<retval type='v' declared_type='void'/>
|
|
551
|
+
</method>
|
|
552
|
+
</class>
|
|
553
|
+
<class name='B2DDraw'>
|
|
554
|
+
<method selector='appendDrawFlags:'>
|
|
555
|
+
<arg index='0' type='I' declared_type='unsigned int' name='flags'/>
|
|
556
|
+
<retval type='v' declared_type='void'/>
|
|
557
|
+
</method>
|
|
558
|
+
<method selector='clearDrawFlags:'>
|
|
559
|
+
<arg index='0' type='I' declared_type='unsigned int' name='flags'/>
|
|
560
|
+
<retval type='v' declared_type='void'/>
|
|
561
|
+
</method>
|
|
562
|
+
<method selector='draw'>
|
|
563
|
+
<retval type='^i' declared_type='int*'/>
|
|
564
|
+
</method>
|
|
565
|
+
<method selector='drawCircle'>
|
|
566
|
+
<retval type='@?' function_pointer='true' declared_type='drawCircleCallback'>
|
|
567
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
568
|
+
<arg type='f' declared_type='float'/>
|
|
569
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
570
|
+
<retval type='v' declared_type='void'/>
|
|
571
|
+
</retval>
|
|
572
|
+
</method>
|
|
573
|
+
<method selector='drawFlags'>
|
|
574
|
+
<retval type='I' declared_type='unsigned int'/>
|
|
575
|
+
</method>
|
|
576
|
+
<method selector='drawPolygon'>
|
|
577
|
+
<retval type='@?' function_pointer='true' declared_type='drawPolygonCallback'>
|
|
578
|
+
<arg type='^{CGPoint=ff}' declared_type='CGPoint*'/>
|
|
579
|
+
<arg type='i' declared_type='NSInteger'/>
|
|
580
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
581
|
+
<retval type='v' declared_type='void'/>
|
|
582
|
+
</retval>
|
|
583
|
+
</method>
|
|
584
|
+
<method selector='drawSegment'>
|
|
585
|
+
<retval type='@?' function_pointer='true' declared_type='drawSegmentCallback'>
|
|
586
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
587
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
588
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
589
|
+
<retval type='v' declared_type='void'/>
|
|
590
|
+
</retval>
|
|
591
|
+
</method>
|
|
592
|
+
<method selector='drawSolidCircle'>
|
|
593
|
+
<retval type='@?' function_pointer='true' declared_type='drawSolidCircleCallback'>
|
|
594
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
595
|
+
<arg type='f' declared_type='float'/>
|
|
596
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
597
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
598
|
+
<retval type='v' declared_type='void'/>
|
|
599
|
+
</retval>
|
|
600
|
+
</method>
|
|
601
|
+
<method selector='drawSolidPolygon'>
|
|
602
|
+
<retval type='@?' function_pointer='true' declared_type='drawSolidPolygonCallback'>
|
|
603
|
+
<arg type='^{CGPoint=ff}' declared_type='CGPoint*'/>
|
|
604
|
+
<arg type='i' declared_type='NSInteger'/>
|
|
605
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
606
|
+
<retval type='v' declared_type='void'/>
|
|
607
|
+
</retval>
|
|
608
|
+
</method>
|
|
609
|
+
<method selector='drawTransform'>
|
|
610
|
+
<retval type='@?' function_pointer='true' declared_type='drawTransformCallback'>
|
|
611
|
+
<arg type='@' declared_type='B2DTransform*'/>
|
|
612
|
+
<retval type='v' declared_type='void'/>
|
|
613
|
+
</retval>
|
|
614
|
+
</method>
|
|
615
|
+
<method selector='setDraw:'>
|
|
616
|
+
<arg index='0' type='^i' declared_type='int*' name='draw'/>
|
|
617
|
+
<retval type='v' declared_type='void'/>
|
|
618
|
+
</method>
|
|
619
|
+
<method selector='setDrawCircle:'>
|
|
620
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='drawCircleCallback' name='drawCircle'>
|
|
621
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
622
|
+
<arg type='f' declared_type='float'/>
|
|
623
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
624
|
+
<retval type='v' declared_type='void'/>
|
|
625
|
+
</arg>
|
|
626
|
+
<retval type='v' declared_type='void'/>
|
|
627
|
+
</method>
|
|
628
|
+
<method selector='setDrawFlags:'>
|
|
629
|
+
<arg index='0' type='I' declared_type='unsigned int' name='drawFlags'/>
|
|
630
|
+
<retval type='v' declared_type='void'/>
|
|
631
|
+
</method>
|
|
632
|
+
<method selector='setDrawPolygon:'>
|
|
633
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='drawPolygonCallback' name='drawPolygon'>
|
|
634
|
+
<arg type='^{CGPoint=ff}' declared_type='CGPoint*'/>
|
|
635
|
+
<arg type='i' declared_type='NSInteger'/>
|
|
636
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
637
|
+
<retval type='v' declared_type='void'/>
|
|
638
|
+
</arg>
|
|
639
|
+
<retval type='v' declared_type='void'/>
|
|
640
|
+
</method>
|
|
641
|
+
<method selector='setDrawSegment:'>
|
|
642
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='drawSegmentCallback' name='drawSegment'>
|
|
643
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
644
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
645
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
646
|
+
<retval type='v' declared_type='void'/>
|
|
647
|
+
</arg>
|
|
648
|
+
<retval type='v' declared_type='void'/>
|
|
649
|
+
</method>
|
|
650
|
+
<method selector='setDrawSolidCircle:'>
|
|
651
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='drawSolidCircleCallback' name='drawSolidCircle'>
|
|
652
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
653
|
+
<arg type='f' declared_type='float'/>
|
|
654
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
655
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
656
|
+
<retval type='v' declared_type='void'/>
|
|
657
|
+
</arg>
|
|
658
|
+
<retval type='v' declared_type='void'/>
|
|
659
|
+
</method>
|
|
660
|
+
<method selector='setDrawSolidPolygon:'>
|
|
661
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='drawSolidPolygonCallback' name='drawSolidPolygon'>
|
|
662
|
+
<arg type='^{CGPoint=ff}' declared_type='CGPoint*'/>
|
|
663
|
+
<arg type='i' declared_type='NSInteger'/>
|
|
664
|
+
<arg type='@' declared_type='B2DColor*'/>
|
|
665
|
+
<retval type='v' declared_type='void'/>
|
|
666
|
+
</arg>
|
|
667
|
+
<retval type='v' declared_type='void'/>
|
|
668
|
+
</method>
|
|
669
|
+
<method selector='setDrawTransform:'>
|
|
670
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='drawTransformCallback' name='drawTransform'>
|
|
671
|
+
<arg type='@' declared_type='B2DTransform*'/>
|
|
672
|
+
<retval type='v' declared_type='void'/>
|
|
101
673
|
</arg>
|
|
102
|
-
<retval
|
|
674
|
+
<retval type='v' declared_type='void'/>
|
|
103
675
|
</method>
|
|
104
676
|
</class>
|
|
105
677
|
<class name='B2DEdgeShape'>
|
|
678
|
+
<method selector='endAdjacentVertex'>
|
|
679
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
680
|
+
</method>
|
|
681
|
+
<method selector='endVertex'>
|
|
682
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
683
|
+
</method>
|
|
684
|
+
<method selector='hasEndAdjacentVertex'>
|
|
685
|
+
<retval type='B' declared_type='_Bool'/>
|
|
686
|
+
</method>
|
|
687
|
+
<method selector='hasStartAdjacentVertex'>
|
|
688
|
+
<retval type='B' declared_type='_Bool'/>
|
|
689
|
+
</method>
|
|
106
690
|
<method selector='initWithStartPoint:endPoint:'>
|
|
107
|
-
<arg
|
|
108
|
-
<arg
|
|
109
|
-
<retval
|
|
691
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='startPoint'/>
|
|
692
|
+
<arg index='1' type='{CGPoint=ff}' declared_type='CGPoint' name='endPoint'/>
|
|
693
|
+
<retval type='@' declared_type='id'/>
|
|
694
|
+
</method>
|
|
695
|
+
<method selector='initWithStartVertex:endVertex:'>
|
|
696
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='startVertex'/>
|
|
697
|
+
<arg index='1' type='{CGPoint=ff}' declared_type='CGPoint' name='endVertex'/>
|
|
698
|
+
<retval type='@' declared_type='id'/>
|
|
699
|
+
</method>
|
|
700
|
+
<method selector='startAdjacentVertex'>
|
|
701
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
702
|
+
</method>
|
|
703
|
+
<method selector='startVertex'>
|
|
704
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
705
|
+
</method>
|
|
706
|
+
</class>
|
|
707
|
+
<class name='B2DFilter'>
|
|
708
|
+
<method selector='categoryBits'>
|
|
709
|
+
<retval type='I' declared_type='NSUInteger'/>
|
|
710
|
+
</method>
|
|
711
|
+
<method selector='groupIndex'>
|
|
712
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
713
|
+
</method>
|
|
714
|
+
<method selector='initWithFilter:'>
|
|
715
|
+
<arg index='0' type='@' declared_type='id' name='filter'/>
|
|
716
|
+
<retval type='@' declared_type='id'/>
|
|
717
|
+
</method>
|
|
718
|
+
<method selector='maskBits'>
|
|
719
|
+
<retval type='I' declared_type='NSUInteger'/>
|
|
720
|
+
</method>
|
|
721
|
+
<method selector='setCategoryBits:'>
|
|
722
|
+
<arg index='0' type='I' declared_type='NSUInteger' name='categoryBits'/>
|
|
723
|
+
<retval type='v' declared_type='void'/>
|
|
724
|
+
</method>
|
|
725
|
+
<method selector='setGroupIndex:'>
|
|
726
|
+
<arg index='0' type='i' declared_type='NSInteger' name='groupIndex'/>
|
|
727
|
+
<retval type='v' declared_type='void'/>
|
|
728
|
+
</method>
|
|
729
|
+
<method selector='setMaskBits:'>
|
|
730
|
+
<arg index='0' type='I' declared_type='NSUInteger' name='maskBits'/>
|
|
731
|
+
<retval type='v' declared_type='void'/>
|
|
732
|
+
</method>
|
|
733
|
+
</class>
|
|
734
|
+
<class name='B2DFixture'>
|
|
735
|
+
<method selector='aabb:'>
|
|
736
|
+
<arg index='0' type='i' declared_type='NSInteger' name='childIndex'/>
|
|
737
|
+
<retval type='@' declared_type='B2DAABB*'/>
|
|
738
|
+
</method>
|
|
739
|
+
<method selector='body'>
|
|
740
|
+
<retval type='@' declared_type='B2DBody*'/>
|
|
741
|
+
</method>
|
|
742
|
+
<method selector='density'>
|
|
743
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
744
|
+
</method>
|
|
745
|
+
<method selector='dump:'>
|
|
746
|
+
<arg index='0' type='i' declared_type='NSInteger' name='bodyIndex'/>
|
|
747
|
+
<retval type='v' declared_type='void'/>
|
|
748
|
+
</method>
|
|
749
|
+
<method selector='filterData'>
|
|
750
|
+
<retval type='@' declared_type='B2DFilter*'/>
|
|
751
|
+
</method>
|
|
752
|
+
<method selector='fixture'>
|
|
753
|
+
<retval type='^i' declared_type='int*'/>
|
|
754
|
+
</method>
|
|
755
|
+
<method selector='friction'>
|
|
756
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
757
|
+
</method>
|
|
758
|
+
<method selector='initWithFixture:'>
|
|
759
|
+
<arg index='0' type='@' declared_type='id' name='boxFixture'/>
|
|
760
|
+
<retval type='@' declared_type='id'/>
|
|
761
|
+
</method>
|
|
762
|
+
<method selector='isSensor'>
|
|
763
|
+
<retval type='B' declared_type='_Bool'/>
|
|
764
|
+
</method>
|
|
765
|
+
<method selector='massData'>
|
|
766
|
+
<retval type='@' declared_type='B2DMassData*'/>
|
|
767
|
+
</method>
|
|
768
|
+
<method selector='next'>
|
|
769
|
+
<retval type='@' declared_type='B2DFixture*'/>
|
|
770
|
+
</method>
|
|
771
|
+
<method selector='rayCastWithOutput:input:andChildIndex:'>
|
|
772
|
+
<arg index='0' type='@' declared_type='B2DRayCastOutput*' name='output'/>
|
|
773
|
+
<arg index='1' type='@' declared_type='B2DRayCastInput*' name='input'/>
|
|
774
|
+
<arg index='2' type='i' declared_type='NSInteger' name='childIndex'/>
|
|
775
|
+
<retval type='B' declared_type='_Bool'/>
|
|
776
|
+
</method>
|
|
777
|
+
<method selector='refilter'>
|
|
778
|
+
<retval type='v' declared_type='void'/>
|
|
779
|
+
</method>
|
|
780
|
+
<method selector='restitution'>
|
|
781
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
782
|
+
</method>
|
|
783
|
+
<method selector='sensor'>
|
|
784
|
+
<retval type='B' declared_type='_Bool'/>
|
|
785
|
+
</method>
|
|
786
|
+
<method selector='setDensity:'>
|
|
787
|
+
<arg index='0' type='f' declared_type='CGFloat' name='density'/>
|
|
788
|
+
<retval type='v' declared_type='void'/>
|
|
789
|
+
</method>
|
|
790
|
+
<method selector='setFilterData:'>
|
|
791
|
+
<arg index='0' type='@' declared_type='B2DFilter*' name='filterData'/>
|
|
792
|
+
<retval type='v' declared_type='void'/>
|
|
793
|
+
</method>
|
|
794
|
+
<method selector='setFixture:'>
|
|
795
|
+
<arg index='0' type='^i' declared_type='int*' name='fixture'/>
|
|
796
|
+
<retval type='v' declared_type='void'/>
|
|
797
|
+
</method>
|
|
798
|
+
<method selector='setFriction:'>
|
|
799
|
+
<arg index='0' type='f' declared_type='CGFloat' name='friction'/>
|
|
800
|
+
<retval type='v' declared_type='void'/>
|
|
801
|
+
</method>
|
|
802
|
+
<method selector='setRestitution:'>
|
|
803
|
+
<arg index='0' type='f' declared_type='CGFloat' name='restitution'/>
|
|
804
|
+
<retval type='v' declared_type='void'/>
|
|
805
|
+
</method>
|
|
806
|
+
<method selector='setSensor:'>
|
|
807
|
+
<arg index='0' type='B' declared_type='_Bool' name='sensor'/>
|
|
808
|
+
<retval type='v' declared_type='void'/>
|
|
809
|
+
</method>
|
|
810
|
+
<method selector='setUserData:'>
|
|
811
|
+
<arg index='0' type='@' declared_type='id' name='userData'/>
|
|
812
|
+
<retval type='v' declared_type='void'/>
|
|
813
|
+
</method>
|
|
814
|
+
<method selector='shape'>
|
|
815
|
+
<retval type='@' declared_type='B2DShape*'/>
|
|
816
|
+
</method>
|
|
817
|
+
<method selector='testPoint:'>
|
|
818
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='point'/>
|
|
819
|
+
<retval type='B' declared_type='_Bool'/>
|
|
820
|
+
</method>
|
|
821
|
+
<method selector='type'>
|
|
822
|
+
<retval type='i' declared_type='B2DShapeTypes'/>
|
|
823
|
+
</method>
|
|
824
|
+
<method selector='userData'>
|
|
825
|
+
<retval type='@' declared_type='id'/>
|
|
826
|
+
</method>
|
|
827
|
+
</class>
|
|
828
|
+
<class name='B2DFixtureDef'>
|
|
829
|
+
<method selector='density'>
|
|
830
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
831
|
+
</method>
|
|
832
|
+
<method selector='friction'>
|
|
833
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
834
|
+
</method>
|
|
835
|
+
<method selector='isSensor'>
|
|
836
|
+
<retval type='B' declared_type='_Bool'/>
|
|
837
|
+
</method>
|
|
838
|
+
<method selector='restitution'>
|
|
839
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
840
|
+
</method>
|
|
841
|
+
<method selector='setDensity:'>
|
|
842
|
+
<arg index='0' type='f' declared_type='CGFloat' name='density'/>
|
|
843
|
+
<retval type='v' declared_type='void'/>
|
|
844
|
+
</method>
|
|
845
|
+
<method selector='setFriction:'>
|
|
846
|
+
<arg index='0' type='f' declared_type='CGFloat' name='friction'/>
|
|
847
|
+
<retval type='v' declared_type='void'/>
|
|
848
|
+
</method>
|
|
849
|
+
<method selector='setIsSensor:'>
|
|
850
|
+
<arg index='0' type='B' declared_type='_Bool' name='isSensor'/>
|
|
851
|
+
<retval type='v' declared_type='void'/>
|
|
852
|
+
</method>
|
|
853
|
+
<method selector='setRestitution:'>
|
|
854
|
+
<arg index='0' type='f' declared_type='CGFloat' name='restitution'/>
|
|
855
|
+
<retval type='v' declared_type='void'/>
|
|
856
|
+
</method>
|
|
857
|
+
<method selector='setShape:'>
|
|
858
|
+
<arg index='0' type='@' declared_type='B2DShape*' name='shape'/>
|
|
859
|
+
<retval type='v' declared_type='void'/>
|
|
860
|
+
</method>
|
|
861
|
+
<method selector='setUserData:'>
|
|
862
|
+
<arg index='0' type='@' declared_type='id' name='userData'/>
|
|
863
|
+
<retval type='v' declared_type='void'/>
|
|
864
|
+
</method>
|
|
865
|
+
<method selector='shape'>
|
|
866
|
+
<retval type='@' declared_type='B2DShape*'/>
|
|
867
|
+
</method>
|
|
868
|
+
<method selector='userData'>
|
|
869
|
+
<retval type='@' declared_type='id'/>
|
|
870
|
+
</method>
|
|
871
|
+
</class>
|
|
872
|
+
<class name='B2DMassData'>
|
|
873
|
+
<method selector='I'>
|
|
874
|
+
<retval type='f' declared_type='Float32'/>
|
|
875
|
+
</method>
|
|
876
|
+
<method selector='centre'>
|
|
877
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
878
|
+
</method>
|
|
879
|
+
<method selector='initWithMassData:'>
|
|
880
|
+
<arg index='0' type='@' declared_type='id' name='massData'/>
|
|
881
|
+
<retval type='@' declared_type='id'/>
|
|
882
|
+
</method>
|
|
883
|
+
<method selector='mass'>
|
|
884
|
+
<retval type='f' declared_type='Float32'/>
|
|
885
|
+
</method>
|
|
886
|
+
<method selector='setCentre:'>
|
|
887
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='centre'/>
|
|
888
|
+
<retval type='v' declared_type='void'/>
|
|
889
|
+
</method>
|
|
890
|
+
<method selector='setI:'>
|
|
891
|
+
<arg index='0' type='f' declared_type='Float32' name='I'/>
|
|
892
|
+
<retval type='v' declared_type='void'/>
|
|
893
|
+
</method>
|
|
894
|
+
<method selector='setMass:'>
|
|
895
|
+
<arg index='0' type='f' declared_type='Float32' name='mass'/>
|
|
896
|
+
<retval type='v' declared_type='void'/>
|
|
110
897
|
</method>
|
|
111
898
|
</class>
|
|
112
899
|
<class name='B2DPolygonShape'>
|
|
900
|
+
<method selector='centroid'>
|
|
901
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
902
|
+
</method>
|
|
903
|
+
<method selector='getVertex:'>
|
|
904
|
+
<arg index='0' type='i' declared_type='NSInteger' name='index'/>
|
|
905
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
906
|
+
</method>
|
|
113
907
|
<method selector='initWithBoxSize:'>
|
|
114
|
-
<arg
|
|
115
|
-
<retval
|
|
908
|
+
<arg index='0' type='{CGSize=ff}' declared_type='CGSize' name='boxSize'/>
|
|
909
|
+
<retval type='@' declared_type='id'/>
|
|
910
|
+
</method>
|
|
911
|
+
<method selector='initWithHalfWidth:andHalfHeight:'>
|
|
912
|
+
<arg index='0' type='f' declared_type='CGFloat' name='halfWidth'/>
|
|
913
|
+
<arg index='1' type='f' declared_type='CGFloat' name='halfHeight'/>
|
|
914
|
+
<retval type='@' declared_type='id'/>
|
|
915
|
+
</method>
|
|
916
|
+
<method selector='initWithHalfWidth:halfHeight:center:andAngle:'>
|
|
917
|
+
<arg index='0' type='f' declared_type='CGFloat' name='halfWidth'/>
|
|
918
|
+
<arg index='1' type='f' declared_type='CGFloat' name='halfHeight'/>
|
|
919
|
+
<arg index='2' type='{CGPoint=ff}' declared_type='CGPoint' name='center'/>
|
|
920
|
+
<arg index='3' type='f' declared_type='CGFloat' name='angle'/>
|
|
921
|
+
<retval type='@' declared_type='id'/>
|
|
922
|
+
</method>
|
|
923
|
+
<method selector='initWithVertices:andVertexCount:'>
|
|
924
|
+
<arg index='0' type='^{CGPoint=ff}' declared_type='CGPoint*' name='vertices'/>
|
|
925
|
+
<arg index='1' type='i' declared_type='NSInteger' name='vertexCount'/>
|
|
926
|
+
<retval type='@' declared_type='id'/>
|
|
927
|
+
</method>
|
|
928
|
+
<method selector='normals'>
|
|
929
|
+
<retval type='^{CGPoint=ff}' declared_type='CGPoint*'/>
|
|
930
|
+
</method>
|
|
931
|
+
<method selector='vertexCount'>
|
|
932
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
933
|
+
</method>
|
|
934
|
+
<method selector='vertices'>
|
|
935
|
+
<retval type='^{CGPoint=ff}' declared_type='CGPoint*'/>
|
|
936
|
+
</method>
|
|
937
|
+
</class>
|
|
938
|
+
<class name='B2DProfile'>
|
|
939
|
+
<method selector='broadphase'>
|
|
940
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
941
|
+
</method>
|
|
942
|
+
<method selector='collide'>
|
|
943
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
944
|
+
</method>
|
|
945
|
+
<method selector='setBroadphase:'>
|
|
946
|
+
<arg index='0' type='f' declared_type='CGFloat' name='broadphase'/>
|
|
947
|
+
<retval type='v' declared_type='void'/>
|
|
948
|
+
</method>
|
|
949
|
+
<method selector='setCollide:'>
|
|
950
|
+
<arg index='0' type='f' declared_type='CGFloat' name='collide'/>
|
|
951
|
+
<retval type='v' declared_type='void'/>
|
|
952
|
+
</method>
|
|
953
|
+
<method selector='setSolve:'>
|
|
954
|
+
<arg index='0' type='f' declared_type='CGFloat' name='solve'/>
|
|
955
|
+
<retval type='v' declared_type='void'/>
|
|
956
|
+
</method>
|
|
957
|
+
<method selector='setSolveInit:'>
|
|
958
|
+
<arg index='0' type='f' declared_type='CGFloat' name='solveInit'/>
|
|
959
|
+
<retval type='v' declared_type='void'/>
|
|
960
|
+
</method>
|
|
961
|
+
<method selector='setSolvePosition:'>
|
|
962
|
+
<arg index='0' type='f' declared_type='CGFloat' name='solvePosition'/>
|
|
963
|
+
<retval type='v' declared_type='void'/>
|
|
964
|
+
</method>
|
|
965
|
+
<method selector='setSolveTOI:'>
|
|
966
|
+
<arg index='0' type='f' declared_type='CGFloat' name='solveTOI'/>
|
|
967
|
+
<retval type='v' declared_type='void'/>
|
|
968
|
+
</method>
|
|
969
|
+
<method selector='setSolveVelocity:'>
|
|
970
|
+
<arg index='0' type='f' declared_type='CGFloat' name='solveVelocity'/>
|
|
971
|
+
<retval type='v' declared_type='void'/>
|
|
972
|
+
</method>
|
|
973
|
+
<method selector='setStep:'>
|
|
974
|
+
<arg index='0' type='f' declared_type='CGFloat' name='step'/>
|
|
975
|
+
<retval type='v' declared_type='void'/>
|
|
976
|
+
</method>
|
|
977
|
+
<method selector='solve'>
|
|
978
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
979
|
+
</method>
|
|
980
|
+
<method selector='solveInit'>
|
|
981
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
982
|
+
</method>
|
|
983
|
+
<method selector='solvePosition'>
|
|
984
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
985
|
+
</method>
|
|
986
|
+
<method selector='solveTOI'>
|
|
987
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
988
|
+
</method>
|
|
989
|
+
<method selector='solveVelocity'>
|
|
990
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
991
|
+
</method>
|
|
992
|
+
<method selector='step'>
|
|
993
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
994
|
+
</method>
|
|
995
|
+
</class>
|
|
996
|
+
<class name='B2DQueryCallback'>
|
|
997
|
+
<method selector='queryCallback'>
|
|
998
|
+
<retval type='^i' declared_type='int*'/>
|
|
999
|
+
</method>
|
|
1000
|
+
<method selector='reportFixture'>
|
|
1001
|
+
<retval type='@?' function_pointer='true' declared_type='reportQueryFixtureCallback'>
|
|
1002
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
1003
|
+
<retval type='B' declared_type='_Bool'/>
|
|
1004
|
+
</retval>
|
|
1005
|
+
</method>
|
|
1006
|
+
<method selector='setQueryCallback:'>
|
|
1007
|
+
<arg index='0' type='^i' declared_type='int*' name='queryCallback'/>
|
|
1008
|
+
<retval type='v' declared_type='void'/>
|
|
1009
|
+
</method>
|
|
1010
|
+
<method selector='setReportFixture:'>
|
|
1011
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='reportQueryFixtureCallback' name='reportFixture'>
|
|
1012
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
1013
|
+
<retval type='B' declared_type='_Bool'/>
|
|
1014
|
+
</arg>
|
|
1015
|
+
<retval type='v' declared_type='void'/>
|
|
1016
|
+
</method>
|
|
1017
|
+
</class>
|
|
1018
|
+
<class name='B2DRayCastCallback'>
|
|
1019
|
+
<method selector='rayCastCallback'>
|
|
1020
|
+
<retval type='^i' declared_type='int*'/>
|
|
1021
|
+
</method>
|
|
1022
|
+
<method selector='reportFixture'>
|
|
1023
|
+
<retval type='@?' function_pointer='true' declared_type='reportRaycastFixtureCallback'>
|
|
1024
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
1025
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
1026
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
1027
|
+
<arg type='f' declared_type='CGFloat'/>
|
|
1028
|
+
<retval type='f' declared_type='float'/>
|
|
1029
|
+
</retval>
|
|
1030
|
+
</method>
|
|
1031
|
+
<method selector='setRayCastCallback:'>
|
|
1032
|
+
<arg index='0' type='^i' declared_type='int*' name='rayCastCallback'/>
|
|
1033
|
+
<retval type='v' declared_type='void'/>
|
|
1034
|
+
</method>
|
|
1035
|
+
<method selector='setReportFixture:'>
|
|
1036
|
+
<arg index='0' type='@?' function_pointer='true' declared_type='reportRaycastFixtureCallback' name='reportFixture'>
|
|
1037
|
+
<arg type='@' declared_type='B2DFixture*'/>
|
|
1038
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
1039
|
+
<arg type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
1040
|
+
<arg type='f' declared_type='CGFloat'/>
|
|
1041
|
+
<retval type='f' declared_type='float'/>
|
|
1042
|
+
</arg>
|
|
1043
|
+
<retval type='v' declared_type='void'/>
|
|
1044
|
+
</method>
|
|
1045
|
+
</class>
|
|
1046
|
+
<class name='B2DRayCastInput'>
|
|
1047
|
+
<method selector='initWithRayCastInput:'>
|
|
1048
|
+
<arg index='0' type='@' declared_type='id' name='rayCastInput'/>
|
|
1049
|
+
<retval type='@' declared_type='id'/>
|
|
1050
|
+
</method>
|
|
1051
|
+
<method selector='maxFraction'>
|
|
1052
|
+
<retval type='f' declared_type='Float32'/>
|
|
1053
|
+
</method>
|
|
1054
|
+
<method selector='point1'>
|
|
1055
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
1056
|
+
</method>
|
|
1057
|
+
<method selector='point2'>
|
|
1058
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
1059
|
+
</method>
|
|
1060
|
+
<method selector='setMaxFraction:'>
|
|
1061
|
+
<arg index='0' type='f' declared_type='Float32' name='maxFraction'/>
|
|
1062
|
+
<retval type='v' declared_type='void'/>
|
|
1063
|
+
</method>
|
|
1064
|
+
<method selector='setPoint1:'>
|
|
1065
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='point1'/>
|
|
1066
|
+
<retval type='v' declared_type='void'/>
|
|
1067
|
+
</method>
|
|
1068
|
+
<method selector='setPoint2:'>
|
|
1069
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='point2'/>
|
|
1070
|
+
<retval type='v' declared_type='void'/>
|
|
1071
|
+
</method>
|
|
1072
|
+
</class>
|
|
1073
|
+
<class name='B2DRayCastOutput'>
|
|
1074
|
+
<method selector='fraction'>
|
|
1075
|
+
<retval type='f' declared_type='Float32'/>
|
|
1076
|
+
</method>
|
|
1077
|
+
<method selector='initWithRayCastOutput:'>
|
|
1078
|
+
<arg index='0' type='@' declared_type='id' name='rayCastOutput'/>
|
|
1079
|
+
<retval type='@' declared_type='id'/>
|
|
1080
|
+
</method>
|
|
1081
|
+
<method selector='normal'>
|
|
1082
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
1083
|
+
</method>
|
|
1084
|
+
<method selector='setFraction:'>
|
|
1085
|
+
<arg index='0' type='f' declared_type='Float32' name='fraction'/>
|
|
1086
|
+
<retval type='v' declared_type='void'/>
|
|
1087
|
+
</method>
|
|
1088
|
+
<method selector='setNormal:'>
|
|
1089
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='normal'/>
|
|
1090
|
+
<retval type='v' declared_type='void'/>
|
|
116
1091
|
</method>
|
|
117
1092
|
</class>
|
|
118
1093
|
<class name='B2DShape'>
|
|
1094
|
+
<method selector='childCount'>
|
|
1095
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
1096
|
+
</method>
|
|
1097
|
+
<method selector='computeAABB:withTransform:andChildIndex:'>
|
|
1098
|
+
<arg index='0' type='@' declared_type='B2DAABB*' name='aabb'/>
|
|
1099
|
+
<arg index='1' type='@' declared_type='B2DTransform*' name='transform'/>
|
|
1100
|
+
<arg index='2' type='i' declared_type='NSInteger' name='childIndex'/>
|
|
1101
|
+
<retval type='v' declared_type='void'/>
|
|
1102
|
+
</method>
|
|
1103
|
+
<method selector='computeMass:withDensity:'>
|
|
1104
|
+
<arg index='0' type='@' declared_type='B2DMassData*' name='massData'/>
|
|
1105
|
+
<arg index='1' type='f' declared_type='CGFloat' name='density'/>
|
|
1106
|
+
<retval type='v' declared_type='void'/>
|
|
1107
|
+
</method>
|
|
1108
|
+
<method selector='initWithShape:'>
|
|
1109
|
+
<arg index='0' type='@' declared_type='id' name='boxShape'/>
|
|
1110
|
+
<retval type='@' declared_type='id'/>
|
|
1111
|
+
</method>
|
|
1112
|
+
<method selector='radius'>
|
|
1113
|
+
<retval type='f' declared_type='CGFloat'/>
|
|
1114
|
+
</method>
|
|
1115
|
+
<method selector='rayCastWithOutput:input:transform:andChildren:'>
|
|
1116
|
+
<arg index='0' type='@' declared_type='B2DRayCastOutput*' name='output'/>
|
|
1117
|
+
<arg index='1' type='@' declared_type='B2DRayCastInput*' name='input'/>
|
|
1118
|
+
<arg index='2' type='@' declared_type='B2DTransform*' name='transform'/>
|
|
1119
|
+
<arg index='3' type='i' declared_type='NSInteger' name='childIndex'/>
|
|
1120
|
+
<retval type='B' declared_type='_Bool'/>
|
|
1121
|
+
</method>
|
|
119
1122
|
<method selector='setShape:'>
|
|
120
|
-
<arg
|
|
121
|
-
<retval
|
|
1123
|
+
<arg index='0' type='^i' declared_type='int*' name='shape'/>
|
|
1124
|
+
<retval type='v' declared_type='void'/>
|
|
122
1125
|
</method>
|
|
123
1126
|
<method selector='shape'>
|
|
124
|
-
<retval
|
|
1127
|
+
<retval type='^i' declared_type='int*'/>
|
|
1128
|
+
</method>
|
|
1129
|
+
<method selector='testPointWithTransform:andPoint:'>
|
|
1130
|
+
<arg index='0' type='@' declared_type='B2DTransform*' name='transform'/>
|
|
1131
|
+
<arg index='1' type='{CGPoint=ff}' declared_type='CGPoint' name='point'/>
|
|
1132
|
+
<retval type='B' declared_type='_Bool'/>
|
|
1133
|
+
</method>
|
|
1134
|
+
<method selector='type'>
|
|
1135
|
+
<retval type='i' declared_type='B2DShapeTypes'/>
|
|
1136
|
+
</method>
|
|
1137
|
+
</class>
|
|
1138
|
+
<class name='B2DTransform'>
|
|
1139
|
+
<method selector='angle'>
|
|
1140
|
+
<retval type='f' declared_type='Float32'/>
|
|
1141
|
+
</method>
|
|
1142
|
+
<method selector='initWithTransform:'>
|
|
1143
|
+
<arg index='0' type='@' declared_type='id' name='transform'/>
|
|
1144
|
+
<retval type='@' declared_type='id'/>
|
|
1145
|
+
</method>
|
|
1146
|
+
<method selector='point'>
|
|
1147
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
1148
|
+
</method>
|
|
1149
|
+
<method selector='setAngle:'>
|
|
1150
|
+
<arg index='0' type='f' declared_type='Float32' name='angle'/>
|
|
1151
|
+
<retval type='v' declared_type='void'/>
|
|
1152
|
+
</method>
|
|
1153
|
+
<method selector='setPoint:'>
|
|
1154
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='point'/>
|
|
1155
|
+
<retval type='v' declared_type='void'/>
|
|
125
1156
|
</method>
|
|
126
1157
|
</class>
|
|
127
1158
|
<class name='B2DWorld'>
|
|
128
1159
|
<method selector='addContactListener:'>
|
|
129
|
-
<arg
|
|
130
|
-
<retval
|
|
1160
|
+
<arg index='0' type='@' declared_type='B2DContactListener*' name='contactListener'/>
|
|
1161
|
+
<retval type='v' declared_type='void'/>
|
|
131
1162
|
</method>
|
|
132
1163
|
<method selector='allowsSleeping'>
|
|
133
|
-
<retval
|
|
1164
|
+
<retval type='B' declared_type='_Bool'/>
|
|
1165
|
+
</method>
|
|
1166
|
+
<method selector='autoClearForces'>
|
|
1167
|
+
<retval type='B' declared_type='_Bool'/>
|
|
1168
|
+
</method>
|
|
1169
|
+
<method selector='bodyCount'>
|
|
1170
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
1171
|
+
</method>
|
|
1172
|
+
<method selector='bodyList'>
|
|
1173
|
+
<retval type='@' declared_type='NSArray*'/>
|
|
1174
|
+
</method>
|
|
1175
|
+
<method selector='clearForces'>
|
|
1176
|
+
<retval type='v' declared_type='void'/>
|
|
1177
|
+
</method>
|
|
1178
|
+
<method selector='contactCount'>
|
|
1179
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
134
1180
|
</method>
|
|
135
1181
|
<method selector='continuousPhysics'>
|
|
136
|
-
<retval
|
|
1182
|
+
<retval type='B' declared_type='BOOL'/>
|
|
1183
|
+
</method>
|
|
1184
|
+
<method selector='createBody:'>
|
|
1185
|
+
<arg index='0' type='@' declared_type='B2DBodyDef*' name='bodyDefinition'/>
|
|
1186
|
+
<retval type='@' declared_type='B2DBody*'/>
|
|
137
1187
|
</method>
|
|
138
1188
|
<method selector='createBodyInPosition:type:'>
|
|
139
|
-
<arg
|
|
140
|
-
<arg
|
|
141
|
-
<retval
|
|
1189
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='position'/>
|
|
1190
|
+
<arg index='1' type='i' declared_type='B2DBodyTypes' name='bodyType'/>
|
|
1191
|
+
<retval type='@' declared_type='B2DBody*'/>
|
|
1192
|
+
</method>
|
|
1193
|
+
<method selector='destroyBody:'>
|
|
1194
|
+
<arg index='0' type='@' declared_type='B2DBody*' name='body'/>
|
|
1195
|
+
<retval type='v' declared_type='void'/>
|
|
1196
|
+
</method>
|
|
1197
|
+
<method selector='drawDebugData'>
|
|
1198
|
+
<retval type='v' declared_type='void'/>
|
|
1199
|
+
</method>
|
|
1200
|
+
<method selector='dump'>
|
|
1201
|
+
<retval type='v' declared_type='void'/>
|
|
142
1202
|
</method>
|
|
143
1203
|
<method selector='gravity'>
|
|
144
|
-
<retval
|
|
1204
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
1205
|
+
</method>
|
|
1206
|
+
<method selector='initWithWorld:'>
|
|
1207
|
+
<arg index='0' type='@' declared_type='id' name='boxWorld'/>
|
|
1208
|
+
<retval type='@' declared_type='id'/>
|
|
1209
|
+
</method>
|
|
1210
|
+
<method selector='isLocked'>
|
|
1211
|
+
<retval type='B' declared_type='_Bool'/>
|
|
1212
|
+
</method>
|
|
1213
|
+
<method selector='jointCount'>
|
|
1214
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
1215
|
+
</method>
|
|
1216
|
+
<method selector='profile'>
|
|
1217
|
+
<retval type='@' declared_type='B2DProfile*'/>
|
|
1218
|
+
</method>
|
|
1219
|
+
<method selector='proxyCount'>
|
|
1220
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
1221
|
+
</method>
|
|
1222
|
+
<method selector='queryAABBWithCallback:andAABB:'>
|
|
1223
|
+
<arg index='0' type='@' declared_type='B2DQueryCallback*' name='queryCallback'/>
|
|
1224
|
+
<arg index='1' type='@' declared_type='B2DAABB*' name='aabb'/>
|
|
1225
|
+
<retval type='v' declared_type='void'/>
|
|
1226
|
+
</method>
|
|
1227
|
+
<method selector='rayCastWithCallback:andPoint1:andPoint2:'>
|
|
1228
|
+
<arg index='0' type='@' declared_type='B2DRayCastCallback*' name='rayCastCallback'/>
|
|
1229
|
+
<arg index='1' type='{CGPoint=ff}' declared_type='CGPoint' name='point1'/>
|
|
1230
|
+
<arg index='2' type='{CGPoint=ff}' declared_type='CGPoint' name='point2'/>
|
|
1231
|
+
<retval type='v' declared_type='void'/>
|
|
145
1232
|
</method>
|
|
146
1233
|
<method selector='removeBody:'>
|
|
147
|
-
<arg
|
|
148
|
-
<retval
|
|
1234
|
+
<arg index='0' type='@' declared_type='B2DBody*' name='body'/>
|
|
1235
|
+
<retval type='v' declared_type='void'/>
|
|
149
1236
|
</method>
|
|
150
1237
|
<method selector='setAllowsSleeping:'>
|
|
151
|
-
<arg
|
|
152
|
-
<retval
|
|
1238
|
+
<arg index='0' type='B' declared_type='_Bool' name='allowsSleeping'/>
|
|
1239
|
+
<retval type='v' declared_type='void'/>
|
|
1240
|
+
</method>
|
|
1241
|
+
<method selector='setAutoClearForces:'>
|
|
1242
|
+
<arg index='0' type='B' declared_type='_Bool' name='autoClearForces'/>
|
|
1243
|
+
<retval type='v' declared_type='void'/>
|
|
1244
|
+
</method>
|
|
1245
|
+
<method selector='setContactFilter:'>
|
|
1246
|
+
<arg index='0' type='@' declared_type='B2DContactFilter*' name='contactFilter'/>
|
|
1247
|
+
<retval type='v' declared_type='void'/>
|
|
1248
|
+
</method>
|
|
1249
|
+
<method selector='setContactListener:'>
|
|
1250
|
+
<arg index='0' type='@' declared_type='B2DContactListener*' name='contactListener'/>
|
|
1251
|
+
<retval type='v' declared_type='void'/>
|
|
153
1252
|
</method>
|
|
154
1253
|
<method selector='setContinuousPhysics:'>
|
|
155
|
-
<arg
|
|
156
|
-
<retval
|
|
1254
|
+
<arg index='0' type='B' declared_type='BOOL' name='continuousPhysics'/>
|
|
1255
|
+
<retval type='v' declared_type='void'/>
|
|
1256
|
+
</method>
|
|
1257
|
+
<method selector='setDebugDraw:'>
|
|
1258
|
+
<arg index='0' type='@' declared_type='B2DDraw*' name='draw'/>
|
|
1259
|
+
<retval type='v' declared_type='void'/>
|
|
1260
|
+
</method>
|
|
1261
|
+
<method selector='setDestructionListener:'>
|
|
1262
|
+
<arg index='0' type='@' declared_type='B2DDestructionListener*' name='destructionListener'/>
|
|
1263
|
+
<retval type='v' declared_type='void'/>
|
|
157
1264
|
</method>
|
|
158
1265
|
<method selector='setGravity:'>
|
|
159
|
-
<arg
|
|
160
|
-
<retval
|
|
1266
|
+
<arg index='0' type='{CGPoint=ff}' declared_type='CGPoint' name='gravity'/>
|
|
1267
|
+
<retval type='v' declared_type='void'/>
|
|
161
1268
|
</method>
|
|
162
1269
|
<method selector='setWorld:'>
|
|
163
|
-
<arg
|
|
164
|
-
<retval
|
|
1270
|
+
<arg index='0' type='^i' declared_type='int*' name='world'/>
|
|
1271
|
+
<retval type='v' declared_type='void'/>
|
|
165
1272
|
</method>
|
|
166
1273
|
<method selector='stepWithDelta:velocityInteractions:positionInteractions:'>
|
|
167
|
-
<arg
|
|
168
|
-
<arg
|
|
169
|
-
<arg
|
|
170
|
-
<retval
|
|
1274
|
+
<arg index='0' type='f' declared_type='CGFloat' name='delta'/>
|
|
1275
|
+
<arg index='1' type='i' declared_type='int' name='velocityInteractions'/>
|
|
1276
|
+
<arg index='2' type='i' declared_type='int' name='positionInteractions'/>
|
|
1277
|
+
<retval type='v' declared_type='void'/>
|
|
1278
|
+
</method>
|
|
1279
|
+
<method selector='treeBalance'>
|
|
1280
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
1281
|
+
</method>
|
|
1282
|
+
<method selector='treeHeight'>
|
|
1283
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
1284
|
+
</method>
|
|
1285
|
+
<method selector='treeQuality'>
|
|
1286
|
+
<retval type='i' declared_type='NSInteger'/>
|
|
171
1287
|
</method>
|
|
172
1288
|
<method selector='world'>
|
|
173
|
-
<retval
|
|
1289
|
+
<retval type='^i' declared_type='int*'/>
|
|
174
1290
|
</method>
|
|
175
1291
|
</class>
|
|
176
1292
|
</signatures>
|