1
0

Add screen dimension constant

This commit is contained in:
Victor 2014-03-12 23:09:32 +02:00
parent e7ac20e524
commit 1c2861f04f

View File

@ -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);
} }