Commit 0498baca authored by Elena Berrios's avatar Elena Berrios
Browse files

Position adjustments

parent 101287ff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -65,8 +65,8 @@ public class Game extends SurfaceView implements SurfaceHolder.Callback {
        // initialize new enemy
        //enemy = new Enemy(context, player, 500, 500, 30);
        // initialize new detectors
        detector1 = new Detector(getContext(), player, (float) (width / 3.25), (float) (height / 2.75), 25);
        detector2 = new Detector(getContext(), player, (float) (width * 0.55), (float) (height / 2.75), 25);
        detector1 = new Detector(getContext(), player, (float) (width * 0.25), (float) (height * 0.17), 100);
        detector2 = new Detector(getContext(), player, (float) (width * 0.47), (float) (height * 0.17), 100);

        // copy other developers lol
        setFocusable(true);