parent
accec4fe8f
commit
362941fe58
|
|
@ -40,9 +40,9 @@ object BlastingCrisis : Plugin() {
|
|||
location(0, 72, -44),
|
||||
location(0, 72, -44),
|
||||
location(-8, 73, -47),
|
||||
Area(location(14, 72, -48), location(-13, 78, -34)),
|
||||
Area(location(14, 72, -48), location(-14, 78, -34)),
|
||||
Area(location(-13, 78, -33), location(13, 72, -33)),
|
||||
Area(location(-13, 78, -32), location(13, 71, -1)),
|
||||
Area(location(-13, 78, -32), location(13, 72, -1)),
|
||||
Area(location(7, 72, -45), location(9, 74, -48)),
|
||||
listOf(
|
||||
Area(location(15, 72, -1), location(19, 78, -48)), Area(location(19, 78, -48), location(-15, 72, -1))
|
||||
|
|
@ -54,9 +54,9 @@ object BlastingCrisis : Plugin() {
|
|||
location(0, 72, 44),
|
||||
location(0, 72, 44),
|
||||
location(8, 73, 47),
|
||||
Area(location(-14, 72, 48), location(13, 78, 34)),
|
||||
Area(location(-14, 72, 48), location(14, 78, 34)),
|
||||
Area(location(13, 78, 33), location(-13, 72, 33)),
|
||||
Area(location(13, 78, 32), location(-13, 71, 1)),
|
||||
Area(location(13, 78, 32), location(-13, 72, 1)),
|
||||
Area(location(-7, 72, 45), location(-9, 74, 48)),
|
||||
listOf(
|
||||
Area(location(-15, 72, 1), location(-19, 78, 48)), Area(location(-19, 78, 48), location(15, 72, 1))
|
||||
|
|
|
|||
|
|
@ -2,7 +2,13 @@ package cc.maxmc.blastingcrisis.map
|
|||
|
||||
import cc.maxmc.blastingcrisis.misc.Area
|
||||
|
||||
class GameMap(val name: String, val area: Area, val wall: Area, val teams: List<MapTeam>, val maxPlayersPerTeam: Int) {
|
||||
class GameMap(
|
||||
val name: String,
|
||||
val area: Area,
|
||||
val wall: Area,
|
||||
val teams: List<MapTeam>,
|
||||
val maxPlayersPerTeam: Int
|
||||
) {
|
||||
val maxPlayer: Int
|
||||
get() = maxPlayersPerTeam * teams.size
|
||||
}
|
||||
Loading…
Reference in New Issue