Package org.gbcpainter.game.view.animations

Examples of org.gbcpainter.game.view.animations.EntityMovementAnimation


    final Level level = getLevel();
    final Player player = level.getPlayer();
    final Point2D screenPlayerPosition;

    if ( player instanceof AnimatedElement ) {
      final EntityMovementAnimation animation = ( (AnimatedElement) player ).getAnimation();
      Point2D animationPosition;
      if ( animation != null ) {
        try {
          animationPosition = animation.getActualPosition();
        } catch ( TerminatedAnimationException e ) {
          animationPosition = player.getPosition();
        }

      } else {
View Full Code Here

TOP

Related Classes of org.gbcpainter.game.view.animations.EntityMovementAnimation

Copyright © 2018 www.massapicom. 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.