Initial commit

This commit is contained in:
CoolGuy27
2026-02-27 20:10:29 +00:00
commit 3739ae0d65
12 changed files with 202 additions and 0 deletions

18
Player.java Normal file
View File

@@ -0,0 +1,18 @@
public class Player implements Moveable{
int x,y,width,height;
public Player(int x1, int y1, int w, int h){
x = x1;
y = y1;
width = w;
height = h;
}
public void moveX(int moveX){
this.x += moveX;
}
public void moveY(int moveY){
this.y += moveY;
}
}