Sw1ft0 / SWADE-Dice-Roller-Discord-Bot

1 stars 0 forks source link

StateMachine.move_one_step should check edges and pick the first edge which requirement the token satisfies #4

Open DzyubSpirit opened 2 months ago

DzyubSpirit commented 2 months ago

StateMachine.move_one_step should not just pick the next node but rather a node on the other end of the edge for which the token fits

Node.find_edge should be rewritten to use Condition.satisfy method instead of compare token type and edge name