Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…VsLuigi into nightly
  • Loading branch information
ipodtouch0218 committed Jun 28, 2022
2 parents f642a95 + db2c11e commit 7f36a53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Scripts/Tile/SiblingRuleTile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
public class SiblingRuleTile : RuleTile {
public List<TileBase> siblings;
public override bool RuleMatch(int neighbor, TileBase other) {
Debug.Log(neighbor);
return neighbor switch {
TilingRuleOutput.Neighbor.This => siblings.Contains(other) || base.RuleMatch(neighbor, other),
TilingRuleOutput.Neighbor.NotThis => !siblings.Contains(other) && base.RuleMatch(neighbor, other),
Expand Down

0 comments on commit 7f36a53

Please sign in to comment.