mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-27 18:41:54 +00:00
Clarify progress is from 0 to 1
This commit is contained in:
parent
6769a236f1
commit
62b68cab6b
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ export interface NodeTypeOptions {
|
||||||
shape: NodeComputable<Shape>;
|
shape: NodeComputable<Shape>;
|
||||||
/** Whether the node can accept another node being dropped upon it. */
|
/** Whether the node can accept another node being dropped upon it. */
|
||||||
canAccept?: NodeComputable<boolean, [BoardNode]>;
|
canAccept?: NodeComputable<boolean, [BoardNode]>;
|
||||||
/** The progress value of the node. */
|
/** The progress value of the node, from 0 to 1. */
|
||||||
progress?: NodeComputable<number>;
|
progress?: NodeComputable<number>;
|
||||||
/** How the progress should be displayed on the node. */
|
/** How the progress should be displayed on the node. */
|
||||||
progressDisplay?: NodeComputable<ProgressDisplay>;
|
progressDisplay?: NodeComputable<ProgressDisplay>;
|
||||||
|
|
Loading…
Reference in a new issue