Colored wall block

This commit is contained in:
Anuken
2025-07-15 11:45:56 -04:00
parent 547ceff736
commit b714651055
12 changed files with 113 additions and 13 deletions

View File

@@ -172,7 +172,7 @@ public class Tile implements Position, QuadTreeObject, Displayable{
}
public boolean isDarkened(){
return block.solid && ((!block.synthetic() && block.fillsTile) || block.checkForceDark(this));
return block.isDarkened(this);
}
public Floor floor(){
@@ -280,6 +280,8 @@ public class Tile implements Position, QuadTreeObject, Displayable{
changed();
changing = false;
block.blockChanged(this);
}
public void setBlock(Block type, Team team){