Calculate PIXEL_PER_METER
This commit is contained in:
parent
87f91cc2bc
commit
157a247516
@ -16,9 +16,9 @@ import java.util.Iterator;
|
|||||||
|
|
||||||
public class PlayState extends FieldState {
|
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_WIDTH = 54f;
|
||||||
public static final float BOARD_HEIGHT = 96f;
|
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 float EDGE_PADDING = 1.7f;
|
||||||
|
|
||||||
public static final Vector2 lowerLeftCorner =
|
public static final Vector2 lowerLeftCorner =
|
||||||
|
Loading…
Reference in New Issue
Block a user