fix: replace dying with charge animation
This commit is contained in:
		
							parent
							
								
									8e027e694f
								
							
						
					
					
						commit
						76ac59ac9c
					
				| 
						 | 
					@ -14,7 +14,7 @@ export default class Attack extends EnemyState {
 | 
				
			||||||
        this.attacked = this.owner.id+"attacked";
 | 
					        this.attacked = this.owner.id+"attacked";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // TODO replace DYING with CHARGING
 | 
					        // TODO replace DYING with CHARGING
 | 
				
			||||||
        (<AnimatedSprite>this.owner).animation.play("DYING", false, this.charged);
 | 
					        (<AnimatedSprite>this.owner).animation.play("CHARGE", false, this.charged);
 | 
				
			||||||
        this.receiver.subscribe(this.charged);
 | 
					        this.receiver.subscribe(this.charged);
 | 
				
			||||||
        this.receiver.subscribe(this.attacked);
 | 
					        this.receiver.subscribe(this.attacked);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user