Package view.utilz

Interface Constants.EnemyConstants

Enclosing interface:
Constants

public static interface Constants.EnemyConstants
Interface containing constants related to enemies views.
  • Field Details

  • Method Details

    • getSpriteAmount

      static int getSpriteAmount(Constants.EnemyConstants.EnemyType enemyType, int enemyState)
      Returns the number of sprites for the given enemy type and state.
      Parameters:
      enemyType - the type of the enemy
      enemyState - the state of the enemy
      Returns:
      the number of sprites