wazho / DungeonGenerator

Dungeon Generator for XAOCX project, it publishes on Unity extension.
5 stars 0 forks source link

Add FindMatchs method and fix a bug #37

Closed qwe321qwe321qwe321 closed 7 years ago

qwe321qwe321qwe321 commented 7 years ago

FindMatchs method return the root that is the match root. (/Debug/level.xml and /Test_rule_will_not_be_match.xml can test its function.) TransformGraph method will output the variable of node count.

Fix that: Now Level.xml is correct. And the UpdateNode method can update alphabetID in GraphGrammar.cs.