From 412c580daa947885a2aafe74ebcb467dc941c64b Mon Sep 17 00:00:00 2001 From: ttwilb Date: Wed, 4 Sep 2013 15:44:20 +0900 Subject: [PATCH] =?utf8?q?=E3=83=87=E3=83=90=E3=83=83=E3=82=B0=E8=A1=A8?= =?utf8?q?=E7=A4=BA=E3=81=AA=E3=81=A9=E6=B6=88=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- www/corelib/classes/FreeItemClass.js | 4 ++++ www/corelib/classes/SlopeBlockClass.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/www/corelib/classes/FreeItemClass.js b/www/corelib/classes/FreeItemClass.js index 6f90580..75401dc 100644 --- a/www/corelib/classes/FreeItemClass.js +++ b/www/corelib/classes/FreeItemClass.js @@ -42,6 +42,7 @@ var FreeItemClass = function(stage, args){ this.ownerStage.mainContext.drawImage(this.image, x, y, 32, 32); this.ownerStage.mainContext.globalAlpha = 1.0; } + /* if(this.debugMode && this.times > 0){ //Žc‚èŽæ“¾‰ñ”‚ð•\Ž¦ this.ownerStage.mainContext.save(); @@ -51,7 +52,9 @@ var FreeItemClass = function(stage, args){ drawText(this.ownerStage.mainContext, this.times, x, y - 20); this.ownerStage.mainContext.restore(); } + */ var tickCount = this.ownerStage.manager.tickCount; + /* if(this.debugMode && ((tickCount - this.lastTouchedTickCount)< this.touchInterval)){ //Žæ“¾‚Å‚«‚é‚悤‚É‚È‚é‚Ü‚Å‚ÌŽc‚莞ŠÔ‚ð•\Ž¦ this.ownerStage.mainContext.save(); @@ -61,6 +64,7 @@ var FreeItemClass = function(stage, args){ drawText(this.ownerStage.mainContext, this.touchInterval - (tickCount - this.lastTouchedTickCount), x, y - 32); this.ownerStage.mainContext.restore(); } + */ }, debugDraw: function(x, y){ //Õ“˃}ƒbƒv‚É•`‰æ diff --git a/www/corelib/classes/SlopeBlockClass.js b/www/corelib/classes/SlopeBlockClass.js index 5c1c6c0..5dcd33b 100644 --- a/www/corelib/classes/SlopeBlockClass.js +++ b/www/corelib/classes/SlopeBlockClass.js @@ -71,7 +71,7 @@ var SlopeBlockClass = function(ownerStage, args) }, draw : function(x, y){ SlopeBlockClass.base.prototype.draw.apply(this, arguments); - + /* if(this.enableDebugMode) { var xz = this.origin.x - x; @@ -88,6 +88,7 @@ var SlopeBlockClass = function(ownerStage, args) this.ownerStage.mainContext.stroke(); this.ownerStage.mainContext.restore(); } + */ }, debugDraw: function(x, y){ var xz = this.origin.x - x; -- 2.11.0