1 var EnemyCharacterClass_Spine = function(stage, args){
2 EnemyCharacterClass_Spine.base.apply(this,[stage,[["toge.png",]]]);
6 this.collisionMargin.top = 28;
8 this.movingVelocity =0;
11 this.damagePerTickBase = 30;
13 if(this.collidingDirection & (CollideLeft | CollideRight | CollideTop)){
17 this.damagePerTickCount = this.damagePerTickBase;
20 stage.addStageObject(this);
21 }.extend(EnemyCharacterClass, {
22 className: "EnemyCharacterClass_Spine",
24 objectAttacked : function(obj, obj_x, obj_y)
26 if(obj instanceof MainCharacterClass)
30 if(this.collidingDirection & (CollideLeft | CollideRight | CollideTop)){
34 this.damagePerTickCount = this.damagePerTickBase;
37 this.lastCollidedTick = this.ownerStage.manager.tickCount;