ProgTypeAbstract.newScopeGenChance

Шанс сгенерировать новую подсекцию при генерации

interface ProgTypeAbstract
@property
float
newScopeGenChance
(
)
in { assert (abs(newOpGenChance() + newScopeGenChance() + newLeafGenChance() - 1) < 0.01, "Generation summed chance isn't 1!"); }
out (result) { assert (0 <= result && result <= 1, "Return value isn't a probability!"); }

Meta