public void update ( Viewer viewer ) { x = ( int ) viewer . getX ( ) ; y = ( int ) viewer . getY ( ) - viewer . getViewY ( ) ; height = viewer . getHeight ( ) ; }
Update game text to store current location view .