Commit 01465038 authored by Nicholas Bindela's avatar Nicholas Bindela
Browse files

HHHHHHHHH

parent 841ed540
......@@ -40,8 +40,8 @@ public class MainGame extends BasicGameState {
private float fireStartX;
private float fireStartY;
private static final int HEIGHT = 600;
private static final int WIDTH = 800;
public static final int HEIGHT = 600;
public static final int WIDTH = 800;
private static int char_Width = 100;
private static int char_Height = 100;
......
......@@ -19,8 +19,8 @@ public class Obstacle {
public Obstacle() {
obsWidth = (int) (Math.random() * (200 - 100 + 1) + 100);
obsHeight = (int) (Math.random() * (200 - 100 + 1) + 100);
obsX = Main.DISPLAY_WIDTH;
obsY = (int) (Math.random() * (Main.DISPLAY_HEIGHT - obsHeight + 1) + obsHeight);
obsX = MainGame.WIDTH;
obsY = (int) (Math.random() * (MainGame.HEIGHT - obsHeight + 1) + obsHeight);
}
public int getObsX() {
......
Supports Markdown
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