initial commit

This commit is contained in:
2026-04-15 19:50:15 -05:00
commit b00f8d7d87
59 changed files with 1100 additions and 0 deletions

15
Flag.java Normal file
View File

@@ -0,0 +1,15 @@
import javax.swing.ImageIcon;
public class Flag extends Collidable {
public Flag(int x, int y, int w, int h) {
super(x, y, w, h, new ImageIcon("Sprites/Flag.png"));
}
public void setPosition(int x, int y, int w, int h) {
this.x = x;
this.y = y;
this.width = w;
this.height = h;
this.rect.setBounds(x, y, w, h);
}
}