Skip to content

Commit

Permalink
feat: block party stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbker committed Dec 13, 2023
1 parent 01c3e6e commit ec8818d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
23 changes: 19 additions & 4 deletions src/main/kotlin/gg/flyte/event/game/GameType.kt
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
package gg.flyte.event.game

import gg.flyte.event.game.lobby.type.PresentHuntGame
import gg.flyte.event.game.main.type.KingOfTheHillGame
import gg.flyte.event.game.main.type.MusicalMinecartsGame
import gg.flyte.event.game.main.type.PresentSnatchGame
import gg.flyte.event.game.main.type.SledRacingGame
import gg.flyte.event.game.main.type.*
import gg.flyte.event.util.MapLocation
import net.kyori.adventure.text.Component
import org.bukkit.GameMode
Expand All @@ -28,6 +25,24 @@ enum class GameType(

// MAIN GAMES

BLOCK_PARTY(
GameCategory.MAIN,
Component.text("Block Party"),
Component.text("test game"),
GameMode.ADVENTURE,
BlockPartyGame::class.java,
BoundingBox.of(
MapLocation(633, 126, 783),
MapLocation(599, 126, 817)
),
listOf(
listOf(
MapLocation(616, 111, 800)
)
),
MapLocation(635, 112, 828, 145, 0)
),

MUSICAL_MINECARTS(
GameCategory.MAIN,
Component.text("Musical Minecarts"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.bukkit.event.inventory.InventoryClickEvent
import org.bukkit.event.player.PlayerDropItemEvent
import org.bukkit.event.player.PlayerInteractEvent

class BlockPartyGame : MainGame(GameType.MUSICAL_MINECARTS) {// CHnage to block party
class BlockPartyGame : MainGame(GameType.BLOCK_PARTY) {

private val squares = listOf<Location>()

Expand Down

0 comments on commit ec8818d

Please sign in to comment.