Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CENTERSTAGE Field Backgrounds #35

Merged
merged 3 commits into from
Sep 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions .idea/modules.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/runConfigurations.xml

This file was deleted.

17 changes: 16 additions & 1 deletion src/main/kotlin/com/noahbres/meepmeep/MeepMeep.kt
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,18 @@ open class MeepMeep @JvmOverloads constructor(private val windowSize: Int, fps:
colorManager.isDarkMode = false
ImageIO.read(classLoader.getResourceAsStream("background/season-2022-powerplay/field-2022-kai-light.png"))
}
Background.FIELD_CENTERSTAGE_OFFICIAL -> {
colorManager.isDarkMode = false
ImageIO.read(classLoader.getResourceAsStream("background/season-2023-centerstage/field-2023-official.png"))
}
Background.FIELD_CENTERSTAGE_JUICE_DARK -> {
colorManager.isDarkMode = false
ImageIO.read(classLoader.getResourceAsStream("background/season-2023-centerstage/field-2023-juice-dark.png"))
}
Background.FIELD_CENTERSTAGE_JUICE_LIGHT -> {
colorManager.isDarkMode = false
ImageIO.read(classLoader.getResourceAsStream("background/season-2023-centerstage/field-2023-juice-light.png"))
}

}.getScaledInstance(windowSize, windowSize, Image.SCALE_SMOOTH)

Expand Down Expand Up @@ -457,6 +469,9 @@ open class MeepMeep @JvmOverloads constructor(private val windowSize: Int, fps:
FIELD_FREIGHTFRENZY_ADI_DARK,
FIELD_POWERPLAY_OFFICIAL,
FIELD_POWERPLAY_KAI_DARK,
FIELD_POWERPLAY_KAI_LIGHT
FIELD_POWERPLAY_KAI_LIGHT,
FIELD_CENTERSTAGE_OFFICIAL,
FIELD_CENTERSTAGE_JUICE_DARK,
FIELD_CENTERSTAGE_JUICE_LIGHT
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.