Clarify progress is from 0 to 1

This commit is contained in:
thepaperpilot 2023-05-18 16:49:22 -05:00
parent 56279e3794
commit 3b7436ab89

View file

@ -104,7 +104,7 @@ export interface NodeTypeOptions {
shape: NodeComputable<Shape>;
/** Whether the node can accept another node being dropped upon it. */
canAccept?: NodeComputable<boolean, [BoardNode]>;
/** The progress value of the node. */
/** The progress value of the node, from 0 to 1. */
progress?: NodeComputable<number>;
/** How the progress should be displayed on the node. */
progressDisplay?: NodeComputable<ProgressDisplay>;