level 7
This commit is contained in:
13
InvisibleTile.java
Normal file
13
InvisibleTile.java
Normal file
@@ -0,0 +1,13 @@
|
||||
import java.awt.Graphics;
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
public class InvisibleTile extends Tile {
|
||||
public InvisibleTile(int x, int y, int w, int h) {
|
||||
super(x, y, w, h, new ImageIcon("Sprites/Bricks/Brick.png"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void draw(Graphics g) {
|
||||
// draw nothing
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user