Ejemplo n.º 1
0
/*     */   public Animation copy()
/*     */   {
/* 672 */     Animation copy = new Animation();
/*     */ 
/* 674 */     copy.spriteSheet = this.spriteSheet;
/* 675 */     copy.frames = this.frames;
/* 676 */     copy.autoUpdate = this.autoUpdate;
/* 677 */     copy.direction = this.direction;
/* 678 */     copy.loop = this.loop;
/* 679 */     copy.pingPong = this.pingPong;
/* 680 */     copy.speed = this.speed;
/*     */ 
/* 682 */     return copy;
/*     */   }