mirror of
https://github.com/wassname/phaser.git
synced 2026-08-08 11:23:41 +08:00
Fix typos of method names in Button.js for doc #444
This commit is contained in:
@@ -244,6 +244,9 @@ Phaser.Physics.World.prototype = {
|
||||
*/
|
||||
beginContactHandler: function (event) {
|
||||
|
||||
console.log('beginContactHandler');
|
||||
console.log(event);
|
||||
|
||||
if (event.bodyA.id > 1 && event.bodyB.id > 1)
|
||||
{
|
||||
// console.log('beginContactHandler');
|
||||
@@ -262,6 +265,10 @@ Phaser.Physics.World.prototype = {
|
||||
*/
|
||||
endContactHandler: function (event) {
|
||||
|
||||
console.log('endContactHandler');
|
||||
console.log(event);
|
||||
|
||||
|
||||
if (event.bodyA.id > 1 && event.bodyB.id > 1)
|
||||
{
|
||||
// console.log('endContactHandler');
|
||||
|
||||
Reference in New Issue
Block a user