Skip to content

Commit 16e841d

Browse files
authored
Explicitly change PatternDrawState visibility to public
1 parent 285c9df commit 16e841d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Common/src/main/java/at/petrak/hexcasting/client/gui/GuiSpellcasting.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,15 +508,15 @@ class GuiSpellcasting constructor(
508508
fun pxToCoord(px: Vec2) = at.petrak.hexcasting.api.utils.pxToCoord(px, this.hexSize(), this.coordsOffset())
509509

510510

511-
private sealed class PatternDrawState {
511+
public sealed class PatternDrawState {
512512
/** We're waiting on the player to right-click again */
513-
object BetweenPatterns : PatternDrawState()
513+
public object BetweenPatterns : PatternDrawState()
514514

515515
/** We just started drawing and haven't drawn the first line yet. */
516-
data class JustStarted(val start: HexCoord) : PatternDrawState()
516+
public data class JustStarted(val start: HexCoord) : PatternDrawState()
517517

518518
/** We've started drawing a pattern for real. */
519-
data class Drawing(val start: HexCoord, var current: HexCoord, val wipPattern: HexPattern) : PatternDrawState()
519+
public data class Drawing(val start: HexCoord, var current: HexCoord, val wipPattern: HexPattern) : PatternDrawState()
520520
}
521521

522522
companion object {

0 commit comments

Comments
 (0)