File tree Expand file tree Collapse file tree
src/main/java/net/rptools/maptool/client/ui/zone/gdx Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,9 +281,9 @@ public void render() {
281281 ScreenUtils .clear (Color .BLACK );
282282 try {
283283 doRendering ();
284- } catch (Exception ex ) {
284+ } catch (Exception ex ) {
285285 log .warn (ex );
286- }
286+ }
287287 }
288288
289289 private void ensureTtfFont () {
@@ -357,7 +357,7 @@ else if (MapTool.getCampaign().isBeingSerialized())
357357
358358 hudTextRenderer .drawString (
359359 "FPS: " + Gdx .graphics .getFramesPerSecond (), width - 30 , height - 32 );
360- hudTextRenderer .drawString ("Draws: " + batch .renderCalls , width - 30 , height - 16 );
360+ hudTextRenderer .drawString ("Draws: " + batch .renderCalls , width - 30 , height - 16 );
361361
362362 batch .end ();
363363 collectTimerResults ();
Original file line number Diff line number Diff line change 2020import com .badlogic .gdx .graphics .Texture ;
2121import com .badlogic .gdx .graphics .g2d .*;
2222import com .badlogic .gdx .utils .Disposable ;
23- import com .badlogic .gdx .utils .GdxRuntimeException ;
2423import com .badlogic .gdx .video .VideoPlayer ;
2524import java .awt .*;
2625import java .awt .image .BufferedImage ;
@@ -84,8 +83,7 @@ public ZoneView getZoneView() {
8483
8584 public void setSharedAtlas (TextureAtlas atlas ) {
8685 sharedAtlas = atlas ;
87- if (atlas == null )
88- return ;
86+ if (atlas == null ) return ;
8987 TRANSFERING_SPRITE = new Sprite (sharedAtlas .findRegion ("unknown" ));
9088 BROKEN_SPRITE = new Sprite (sharedAtlas .findRegion ("broken" ));
9189 }
@@ -237,14 +235,14 @@ public Sprite getSprite(String name) {
237235 region = fetch (name );
238236 }
239237
240- if (region == null ) {
238+ if (region == null ) {
241239 sprite = bigSprites .get (name );
242240 } else {
243241 sprite = new Sprite (region );
244242 sprite .setSize (region .getRegionWidth (), region .getRegionHeight ());
245243 }
246244
247- if (sprite == null ) {
245+ if (sprite == null ) {
248246 return BROKEN_SPRITE ;
249247 }
250248
You can’t perform that action at this time.
0 commit comments