Package view.utilz

Interface Constants.PlayerConstants

Enclosing interface:
Constants

public static interface Constants.PlayerConstants
Interface containing constants related to the player view.
  • Field Details

  • Method Details

    • getSpriteAmount

      static int getSpriteAmount(int playerAnimation)
      Returns the number of sprites for the given player animation.
      Parameters:
      playerAnimation - the animation of the player
      Returns:
      the number of sprites