Commit 993f0a81 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#884 code refactoring.

parent 235eab16
......@@ -104,6 +104,9 @@ public class HallOfFameScreen extends AbstractTablexiaScreen<Map<ITrophyDefiniti
private static final float MOUSE_DIALOG_PADDING_TRESHOLD_SCALE = 1.7f;
private static final int MOUSE_RANK_UP_TIMEOUT = 2 * 24 * 60 * 60 * 1000; //2 days in ms
private static final int HEAP_WIDTH = 418;
private static final int HEAP_HEIGHT = 578;
private static final Vector2 MOUSE_DIALOG_OFFSET = new Vector2(32, 16);
public static final String HALL_OF_FAME_SPEECH = MFX_PATH + "halloffame.mp3";
......@@ -491,7 +494,7 @@ public class HallOfFameScreen extends AbstractTablexiaScreen<Map<ITrophyDefiniti
float heapScale = heapProperties.getThird();
heapImage.setPosition(heapX, heapY);
heapImage.setScale(heapScale);
heapImage.setSize(418,578);
heapImage.setSize(HEAP_WIDTH,HEAP_HEIGHT);
heapImage.addListener(new ClickListener() {
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment