OSDN Git Service

辛夷祭初日の緊急修正多数。
[h58pcdgame/GameScriptCoreLibrary.git] / www / corelib / classes / EnemyCharacters / EnemyCharacterClass_Frog.js
index a218a59..ea0f837 100644 (file)
@@ -1,40 +1,40 @@
-var EnemyCharacterClass_Frog = function(stage, args){
-       EnemyCharacterClass_Frog.base.apply(this, [stage, [["toad.png","toad2.png","toad3.png",]]]);
-
-       this.size.x = 32;
-       this.size.y = 32;
-       
-       this.chasingRange = 300;
-       
-       this.movingVelocity = 100;
-       this.max_HP = 10;
-       this.HP = this.max_HP;
-
-       this.jumpPower = 100;
-       
-       stage.addStageObject(this);
-}.extend(EnemyCharacterClass, {
-       className: "EnemyCharacterClass_Frog",
-       goLeft : function(){
-               EnemyCharacterClass_Frog.base.prototype.goLeft.apply(this);
-               EnemyCharacterClass_Frog.base.prototype.jump.apply(this);
-       },
-       
-       //\92Ê\8fí\89E\82É\90i\82Þ\82Æ\82«\82É\8cÄ\82Î\82ê\82é\81B
-       goRight : function(){
-               EnemyCharacterClass_Frog.base.prototype.goRight.apply(this);
-               EnemyCharacterClass_Frog.base.prototype.jump.apply(this);
-       },
-
-       tick : function()
-       {
-               this.checkTouchingDirection();
-               if((this.touchingDirection & CollideBottom) != 0)
-               {
-                       this.isGround = true;
-               }
-               
-               EnemyCharacterClass_Frog.base.prototype.tick.apply(this);
-       },
-       
-});
+var EnemyCharacterClass_Frog = function(stage, args){\r
+       EnemyCharacterClass_Frog.base.apply(this, [stage, [["toad.png","toad2.png","toad3.png",]]]);\r
+\r
+       this.size.x = 32;\r
+       this.size.y = 32;\r
+       \r
+       this.chasingRange = 300;\r
+       \r
+       this.movingVelocity = 100;\r
+       this.max_HP = 10;\r
+       this.HP = this.max_HP;\r
+\r
+       this.jumpPower = 100;\r
+       \r
+       stage.addStageObject(this);\r
+}.extend(EnemyCharacterClass, {\r
+       className: "EnemyCharacterClass_Frog",\r
+       goLeft : function(){\r
+               EnemyCharacterClass_Frog.base.prototype.goLeft.apply(this);\r
+               EnemyCharacterClass_Frog.base.prototype.jump.apply(this);\r
+       },\r
+       \r
+       //\92Ê\8fí\89E\82É\90i\82Þ\82Æ\82«\82É\8cÄ\82Î\82ê\82é\81B\r
+       goRight : function(){\r
+               EnemyCharacterClass_Frog.base.prototype.goRight.apply(this);\r
+               EnemyCharacterClass_Frog.base.prototype.jump.apply(this);\r
+       },\r
+\r
+       tick : function()\r
+       {\r
+               this.checkTouchingDirection();\r
+               if((this.touchingDirection & CollideBottom) != 0)\r
+               {\r
+                       this.isGround = true;\r
+               }\r
+               \r
+               EnemyCharacterClass_Frog.base.prototype.tick.apply(this);\r
+       },\r
+       \r
+});\r