play sound and change presence of tile if interacted with
This commit is contained in:
@@ -222,7 +222,8 @@ public class Player extends Entity {
|
||||
public void interactTile(int index) {
|
||||
if(index == 999 || !panel.iTile[index].destructible) return;
|
||||
if(!panel.iTile[index].meetItemReq(this)) return;
|
||||
panel.iTile[index] = null;
|
||||
panel.iTile[index].playSE();
|
||||
panel.iTile[index] = panel.iTile[index].getDestroyedForm();
|
||||
}
|
||||
|
||||
public void interactNPC(int index) {
|
||||
|
||||
Reference in New Issue
Block a user