Commit 2258d998 authored by Anish Sinha's avatar Anish Sinha
Browse files

fixed typo

parent bdf74488
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -71,8 +71,8 @@ public class GameView extends SurfaceView implements Runnable{
        if(background2.yPos > screenHeight) {
            background2.yPos = -screenHeight;
        }
        p1.xVel = (int)joystick.XVelocity* p1.SPEEDMULTIPLIER;
        p1.yVel = (int)joystick.YVelocity* p1.SPEEDMULTIPLIER;
        p1.xVel = (int)joystick.XVelocity* p1.SPEED_MULTIPLIER;
        p1.yVel = (int)joystick.YVelocity* p1.SPEED_MULTIPLIER;
        p1.update();
        joystick.update(joystick);
    }
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ import android.util.Log;
public class Player extends Sprite{

    private int health = 3;
    public final int SPEEDMULTIPLIER = 5;
    public final int SPEED_MULTIPLIER = 5;

    public Player(int xPos, int yPos, int xVel, int yVel, Resources res) {
        super(xPos,yPos,xVel,yVel);