public SecretBlock(Mario player,Group parent,int stageZone,float xPos,float yPos,float yoloWidth,Image... hitState){
  super(BLOCK_COLLISION_DATA,xPos,yPos,0,0,(Image)null);
  this.hitState=hitState[0];
  yoloView=new ImageView(hitState[1]);
  yoloView.setFitWidth(yoloWidth);
  this.parent=parent;
  zone=stageZone;
}

public SecretBlock ( Mario player , Group parent , int stageZone , float xPos , float yPos , float yoloWidth , Image ... hitState ) { super ( BLOCK_COLLISION_DATA , xPos , yPos , 0 , 0 , ( Image ) null ) ; this . hitState = hitState [ 0 ] ; yoloView = new ImageView ( hitState [ 1 ] ) ; yoloView . setFitWidth ( yoloWidth ) ; this . parent = parent ; zone = stageZone ; }
constructs a single secretblock ( tile which generates one - ups in original game , but " yolo " image in this game ) .
