question: private Sprite ( float xPos , float yPos , float xVel , float yVel , Image ... sprites ) { if ( sprites != null ) spriteFrame = new ImageView ( sprites [ 0 ] ) ; playerStates . addAll ( Arrays . asList ( sprites ) ) ; spriteFrame . setTranslateX ( xPos ) ; spriteFrame . setTranslateY ( yPos ) ; this . xPos = xPos ; this . yPos = yPos ; this . xVel = xVel ; this . yVel = yVel ; }
target:  Used internally to create common functions between motion and stationary sprite.