Examples of AnimatedSprite


Examples of com.pointcliki.core.AnimatedSprite

  }
 
  public static AnimatedSprite editorIcon(JSONObject object) throws JSONException {
    MonolithPID pid = GruntzGame.resourceManager().pid("GRUNTZ/IMAGEZ/GRUNTPUDDLE/FRAME001");
    return new AnimatedSprite(new Image[] {pid.image()}, new Vector2f[] {pid.offset()});
  }
View Full Code Here

Examples of games.stendhal.client.sprite.AnimatedSprite

    x += width;
    frames[2] = store.getTile(tiles, x, y, width, height);

    frames[3] = frames[1];

    return new AnimatedSprite(frames, 100, false);
  }
View Full Code Here

Examples of games.stendhal.client.sprite.AnimatedSprite

   * @param sprite
   *            The sprite.
   */
  protected void setAnimation(final Sprite sprite) {
    if (sprite instanceof AnimatedSprite) {
      final AnimatedSprite asprite = (AnimatedSprite) sprite;

      if (isAnimating()) {
        asprite.start();
      } else {
        asprite.stop();
        asprite.reset();
      }
    }
  }
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.