30 lines
580 B
Java
30 lines
580 B
Java
package de.miaurizius.jgame2d.tile.interactive;
|
|
|
|
import de.miaurizius.jgame2d.core.GamePanel;
|
|
import de.miaurizius.jgame2d.entity.Entity;
|
|
|
|
public class InteractiveTile extends Entity {
|
|
|
|
GamePanel panel;
|
|
public boolean destructible;
|
|
|
|
public InteractiveTile(GamePanel panel, int col, int row) {
|
|
super(panel);
|
|
this.panel = panel;
|
|
}
|
|
|
|
public void update() {
|
|
}
|
|
|
|
|
|
public void playSE() {}
|
|
|
|
public InteractiveTile getDestroyedForm() {
|
|
return null;
|
|
}
|
|
|
|
public boolean meetItemReq(Entity entity) {
|
|
return false;
|
|
}
|
|
}
|