Calculate PIXEL_PER_METER

This commit is contained in:
Matt Low 2018-11-21 15:22:42 +04:00
parent 87f91cc2bc
commit 157a247516

View File

@ -16,9 +16,9 @@ import java.util.Iterator;
public class PlayState extends FieldState {
public static final float PIXEL_PER_METER = 40f; // Board dimension: 54x96 meters
public static final float BOARD_WIDTH = 54f;
public static final float BOARD_HEIGHT = 96f;
public static final float PIXEL_PER_METER = BrickBuster.BOARD_WIDTH / BOARD_WIDTH;
public static final float EDGE_PADDING = 1.7f;
public static final Vector2 lowerLeftCorner =