Commits
Doc authored and md_5 committed 4068c6aa920
79 79 | * Gets the approximate height the firework will fly. |
80 80 | * |
81 81 | * @return approximate flight height of the firework. |
82 82 | */ |
83 83 | int getPower(); |
84 84 | |
85 85 | /** |
86 86 | * Sets the approximate power of the firework. Each level of power is half |
87 87 | * a second of flight time. |
88 88 | * |
89 - | * @param power the power of the firework, from 0-127 |
90 - | * @throws IllegalArgumentException if {@literal height<0 or height>127} |
89 + | * @param power the power of the firework, from 0-255 |
90 + | * @throws IllegalArgumentException if {@literal power<0 or power>255} |
91 91 | */ |
92 92 | void setPower(int power) throws IllegalArgumentException; |
93 93 | |
94 94 | |
95 95 | |
96 96 | FireworkMeta clone(); |
97 97 | } |