question: protected void calculateOffset ( T entity , final int swidth , final int sheight ) { final Rectangle2D area = entity . getArea ( ) ; calculateOffset ( swidth , sheight , ( int ) ( IGameScreen . SIZE_UNIT_PIXELS * area . getWidth ( ) ) , ( int ) ( IGameScreen . SIZE_UNIT_PIXELS * area . getHeight ( ) ) ) ; }
target:  Calculate sprite image offset for the entity.