Skip to content

Commit

Permalink
feat: base pass the parcel
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbker committed Dec 13, 2023
1 parent ec8818d commit 7bbc87d
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 31 deletions.
80 changes: 49 additions & 31 deletions src/main/kotlin/gg/flyte/event/game/GameType.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,65 +43,65 @@ enum class GameType(
MapLocation(635, 112, 828, 145, 0)
),

MUSICAL_MINECARTS(
KING_OF_THE_HILL(
GameCategory.MAIN,
Component.text("Musical Minecarts"),
Component.text("test game"),
Component.text("King Of The Hill"),
Component.text("test game3"),
GameMode.ADVENTURE,
MusicalMinecartsGame::class.java,
KingOfTheHillGame::class.java,
BoundingBox.of(
MapLocation(633, 126, 783),
MapLocation(599, 126, 817)
MapLocation(828, 101, 623),
MapLocation(832, 104, 627)
),
listOf(
listOf(
MapLocation(616, 111, 800)
MapLocation(811, 98, 604, -45, -5),
MapLocation(831, 100, 600, 3, 0),
MapLocation(845, 103, 606, 40, 7),
MapLocation(855, 100, 622, 60, 5),
MapLocation(855, 101, 640, 135, 3),
MapLocation(845, 101, 656, 151, 3),
MapLocation(814, 100, 644, -135, 2),
MapLocation(803, 96, 624, -90, -7),
)
),
MapLocation(635, 112, 828, 145, 0)
MapLocation(731, 142, 528, -45, 15)
),

SLED_RACING(
MUSICAL_MINECARTS(
GameCategory.MAIN,
Component.text("Sled Racing"),
Component.text("test game2"),
Component.text("Musical Minecarts"),
Component.text("test game"),
GameMode.ADVENTURE,
SledRacingGame::class.java,
MusicalMinecartsGame::class.java,
BoundingBox.of(
MapLocation(-133, 83, 95),
MapLocation(-174, 79, 103)
MapLocation(633, 126, 783),
MapLocation(599, 126, 817)
),
listOf(
listOf(
MapLocation(-133, 80, 100, 90, 0)
MapLocation(616, 111, 800)
)
),
MapLocation(-151, 80, 92)
MapLocation(635, 112, 828, 145, 0)
),

KING_OF_THE_HILL(
PASS_THE_PARCEL(
GameCategory.MAIN,
Component.text("King Of The Hill"),
Component.text("test game3"),
Component.text("Pass the Parcel"),
Component.text("test game"),
GameMode.ADVENTURE,
KingOfTheHillGame::class.java,
PassTheParcelGame::class.java,
BoundingBox.of(
MapLocation(828, 101, 623),
MapLocation(832, 104, 627)
MapLocation(633, 126, 783),
MapLocation(599, 126, 817)
),
listOf(
listOf(
MapLocation(811, 98, 604, -45, -5),
MapLocation(831, 100, 600, 3, 0),
MapLocation(845, 103, 606, 40, 7),
MapLocation(855, 100, 622, 60, 5),
MapLocation(855, 101, 640, 135, 3),
MapLocation(845, 101, 656, 151, 3),
MapLocation(814, 100, 644, -135, 2),
MapLocation(803, 96, 624, -90, -7),
MapLocation(616, 111, 800)
)
),
MapLocation(731, 142, 528, -45, 15)
MapLocation(635, 112, 828, 145, 0)
),

PRESENT_SNATCH(
Expand Down Expand Up @@ -131,6 +131,24 @@ enum class GameType(
MapLocation(0, 0, 0)
),

SLED_RACING(
GameCategory.MAIN,
Component.text("Sled Racing"),
Component.text("test game2"),
GameMode.ADVENTURE,
SledRacingGame::class.java,
BoundingBox.of(
MapLocation(-133, 83, 95),
MapLocation(-174, 79, 103)
),
listOf(
listOf(
MapLocation(-133, 80, 100, 90, 0)
)
),
MapLocation(-151, 80, 92)
),


// LOBBY GAMES

Expand Down
27 changes: 27 additions & 0 deletions src/main/kotlin/gg/flyte/event/game/main/type/PassTheParcelGame.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package gg.flyte.event.game.main.type

import gg.flyte.event.game.GameType
import gg.flyte.event.game.main.MainGame
import org.bukkit.entity.Player

class PassTheParcelGame : MainGame(GameType.PASS_THE_PARCEL) {
override fun onPlayerJoin(player: Player) {
TODO("Not yet implemented")
}

override fun events() {
TODO("Not yet implemented")
}

override fun start() {
TODO("Not yet implemented")
}

override fun stop() {
TODO("Not yet implemented")
}

override fun onPlayerQuit(player: Player) {
TODO("Not yet implemented")
}
}

0 comments on commit 7bbc87d

Please sign in to comment.