Package zelda.karacter

Examples of zelda.karacter.Direction


    {
      // This section of the code corrects the position of link when he's striking.
      // If you don't do this link appears to be moving when he swings his sword.
      // Go ahead and remove the entire body of this else statement. You'll see what i mean.

      Direction dir = link.getDirection();

      if (dir == Direction.UP)
      {
        switch(animationCounter)
        {
View Full Code Here


      link.setCheckcollision(true);
      link.setState(new StandState(link));;
    }
        else
        {
            Direction dir = link.getDirection();

      if (dir == Direction.UP)
      {
        switch(animationCounter)
        {
View Full Code Here

    @Override
  public void handleAnimation()
  {
    int animationCounter = karacter.getAnimationCounter();

        Direction dir = karacter.getDirection();

    if (animationCounter == karacter.getAnimation().length)
    {

    }
View Full Code Here

TOP

Related Classes of zelda.karacter.Direction

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.