/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.jme3.animation.AnimChannel
 *  com.jme3.animation.AnimControl
 *  com.jme3.animation.AnimEventListener
 */
package mygame;

import com.jme3.animation.AnimChannel;
import com.jme3.animation.AnimControl;
import com.jme3.animation.AnimEventListener;
import mygame.Weapon;

public class SkillListener
implements AnimEventListener {
    private Weapon weapon;

    public SkillListener(Weapon w) {
        this.weapon = w;
    }

    public void onAnimCycleDone(AnimControl control, AnimChannel channel, String animName) {
        if (animName.equals("skill1")) {
            this.weapon.skill1 = false;
        }
    }

    public void onAnimChange(AnimControl control, AnimChannel channel, String animName) {
    }
}
