.class public Lcom/esotericsoftware/spine/utils/SkeletonActorPool;
.super Lcom/badlogic/gdx/utils/Pool;
.source "SkeletonActorPool.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/badlogic/gdx/utils/Pool<",
        "Lcom/esotericsoftware/spine/utils/SkeletonActor;",
        ">;"
    }
.end annotation


# instance fields
.field a:Lcom/esotericsoftware/spine/SkeletonData;

.field d:Lcom/esotericsoftware/spine/AnimationStateData;

.field private e:Lcom/esotericsoftware/spine/SkeletonRenderer;

.field private final f:Lcom/badlogic/gdx/utils/Pool;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/badlogic/gdx/utils/Pool<",
            "Lcom/esotericsoftware/spine/Skeleton;",
            ">;"
        }
    .end annotation
.end field

.field private final g:Lcom/badlogic/gdx/utils/Pool;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/badlogic/gdx/utils/Pool<",
            "Lcom/esotericsoftware/spine/AnimationState;",
            ">;"
        }
    .end annotation
.end field

.field private final h:Lcom/badlogic/gdx/utils/Array;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/badlogic/gdx/utils/Array<",
            "Lcom/esotericsoftware/spine/utils/SkeletonActor;",
            ">;"
        }
    .end annotation
.end field


# virtual methods
.method protected a()Lcom/esotericsoftware/spine/utils/SkeletonActor;
    .locals 2

    .line 106
    new-instance v0, Lcom/esotericsoftware/spine/utils/SkeletonActor;

    invoke-direct {v0}, Lcom/esotericsoftware/spine/utils/SkeletonActor;-><init>()V

    .line 107
    iget-object v1, p0, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->e:Lcom/esotericsoftware/spine/SkeletonRenderer;

    invoke-virtual {v0, v1}, Lcom/esotericsoftware/spine/utils/SkeletonActor;->a(Lcom/esotericsoftware/spine/SkeletonRenderer;)V

    return-object v0
.end method

.method protected a(Lcom/esotericsoftware/spine/utils/SkeletonActor;)V
    .locals 2

    .line 122
    invoke-virtual {p1}, Lcom/esotericsoftware/spine/utils/SkeletonActor;->a()Z

    .line 123
    iget-object v0, p0, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->h:Lcom/badlogic/gdx/utils/Array;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/badlogic/gdx/utils/Array;->c(Ljava/lang/Object;Z)Z

    .line 124
    iget-object v0, p0, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->f:Lcom/badlogic/gdx/utils/Pool;

    invoke-virtual {p1}, Lcom/esotericsoftware/spine/utils/SkeletonActor;->c()Lcom/esotericsoftware/spine/Skeleton;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/Pool;->a(Ljava/lang/Object;)V

    .line 125
    iget-object v0, p0, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->g:Lcom/badlogic/gdx/utils/Pool;

    invoke-virtual {p1}, Lcom/esotericsoftware/spine/utils/SkeletonActor;->v()Lcom/esotericsoftware/spine/AnimationState;

    move-result-object p1

    invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Pool;->a(Ljava/lang/Object;)V

    return-void
.end method

.method protected synthetic b()Ljava/lang/Object;
    .locals 1

    .line 44
    invoke-virtual {p0}, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->a()Lcom/esotericsoftware/spine/utils/SkeletonActor;

    move-result-object v0

    return-object v0
.end method

.method protected synthetic b(Ljava/lang/Object;)V
    .locals 0

    .line 44
    check-cast p1, Lcom/esotericsoftware/spine/utils/SkeletonActor;

    invoke-virtual {p0, p1}, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->a(Lcom/esotericsoftware/spine/utils/SkeletonActor;)V

    return-void
.end method

.method public c()Lcom/esotericsoftware/spine/utils/SkeletonActor;
    .locals 2

    .line 114
    invoke-super {p0}, Lcom/badlogic/gdx/utils/Pool;->d()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/esotericsoftware/spine/utils/SkeletonActor;

    .line 115
    iget-object v1, p0, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->f:Lcom/badlogic/gdx/utils/Pool;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/Pool;->d()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esotericsoftware/spine/Skeleton;

    invoke-virtual {v0, v1}, Lcom/esotericsoftware/spine/utils/SkeletonActor;->a(Lcom/esotericsoftware/spine/Skeleton;)V

    .line 116
    iget-object v1, p0, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->g:Lcom/badlogic/gdx/utils/Pool;

    invoke-virtual {v1}, Lcom/badlogic/gdx/utils/Pool;->d()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esotericsoftware/spine/AnimationState;

    invoke-virtual {v0, v1}, Lcom/esotericsoftware/spine/utils/SkeletonActor;->a(Lcom/esotericsoftware/spine/AnimationState;)V

    .line 117
    iget-object v1, p0, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->h:Lcom/badlogic/gdx/utils/Array;

    invoke-virtual {v1, v0}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V

    return-object v0
.end method

.method public synthetic d()Ljava/lang/Object;
    .locals 1

    .line 44
    invoke-virtual {p0}, Lcom/esotericsoftware/spine/utils/SkeletonActorPool;->c()Lcom/esotericsoftware/spine/utils/SkeletonActor;

    move-result-object v0

    return-object v0
.end method
