first
This commit is contained in:
16
Maps/MapGenerator/Biome.gd
Normal file
16
Maps/MapGenerator/Biome.gd
Normal file
@@ -0,0 +1,16 @@
|
||||
extends Object
|
||||
class_name Biome
|
||||
|
||||
var name: String
|
||||
var roomList: RoomList
|
||||
var starterRoom: RoomData
|
||||
|
||||
var spread: float
|
||||
var priority: int #Biomes with a prio of 0 will always be placed, afterwards Biomes of lower priority will be placed
|
||||
|
||||
func _init(bName: String, rList: RoomList, sRoom: RoomData, bSpread: float, bPrio: int) -> void:
|
||||
name = bName
|
||||
roomList = rList
|
||||
starterRoom = sRoom
|
||||
spread = bSpread
|
||||
priority = bPrio
|
||||
Reference in New Issue
Block a user