Package com.pointcliki.core

Examples of com.pointcliki.core.AnimatedSprite.splice()


  }
 
  public void rawAnimate(String ani, String graphics, int frames) {
    // Get ani first in case it causes an exception
    AnimatedSprite sprite = new MonolithANI(GruntzGame.resourceManager().rez().file("GRUNTZ/ANIZ/" + ani, "ani"), "GRUNTZ/IMAGEZ/" + graphics).sprite(fPalette);
    sprite.splice(0, frames);
    if (fAnimation != null) fAnimation.cleanup();
    fAnimation = sprite;
    fAnimationName = "";
    addChild(fAnimation, 50);
    fSpan = fAnimation.span();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.