1 var EnemyCharacterClass_Frog = function(stage, args){
\r
2 EnemyCharacterClass_Frog.base.apply(this, [stage, [["toad.png","toad2.png","toad3.png",]]]);
\r
7 this.chasingRange = 300;
\r
9 this.movingVelocity = 100;
\r
11 this.HP = this.max_HP;
\r
13 this.jumpPower = 100;
\r
15 stage.addStageObject(this);
\r
16 }.extend(EnemyCharacterClass, {
\r
17 className: "EnemyCharacterClass_Frog",
\r
18 goLeft : function(){
\r
19 EnemyCharacterClass_Frog.base.prototype.goLeft.apply(this);
\r
20 EnemyCharacterClass_Frog.base.prototype.jump.apply(this);
\r
23 //
\92Ê
\8fí
\89E
\82É
\90i
\82Þ
\82Æ
\82«
\82É
\8cÄ
\82Î
\82ê
\82é
\81B
\r
24 goRight : function(){
\r
25 EnemyCharacterClass_Frog.base.prototype.goRight.apply(this);
\r
26 EnemyCharacterClass_Frog.base.prototype.jump.apply(this);
\r
31 this.checkTouchingDirection();
\r
32 if((this.touchingDirection & CollideBottom) != 0)
\r
34 this.isGround = true;
\r
37 EnemyCharacterClass_Frog.base.prototype.tick.apply(this);
\r