Add screen dimension constant
This commit is contained in:
parent
e7ac20e524
commit
1c2861f04f
@ -1,5 +1,7 @@
|
|||||||
package com.annimon.turrets;
|
package com.annimon.turrets;
|
||||||
|
|
||||||
|
import java.awt.Dimension;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author aNNiMON
|
* @author aNNiMON
|
||||||
@ -9,4 +11,5 @@ public interface Constants {
|
|||||||
// Screen
|
// Screen
|
||||||
public static final int WIDTH = 800, HEIGHT = 600;
|
public static final int WIDTH = 800, HEIGHT = 600;
|
||||||
public static final boolean RESIZABLE = false;
|
public static final boolean RESIZABLE = false;
|
||||||
|
public static final Dimension SCREEN_DIMENSION = new Dimension(Constants.WIDTH, Constants.HEIGHT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user