Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
extends Object
|
||||
class_name RoomList
|
||||
|
||||
var rooms: Array[RoomData]
|
||||
|
||||
func addRoom(roomImage: Image, roomSceneRef: String) -> void:
|
||||
var newRoom: RoomData = RoomData.new(roomImage,roomSceneRef)
|
||||
rooms.push_back(newRoom)
|
||||
|
||||
func duplicate() -> RoomList:
|
||||
var returnList: RoomList = RoomList.new()
|
||||
for room in rooms:
|
||||
returnList.rooms.push_back(room.duplicateRoom())
|
||||
return returnList
|
||||
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
extends Object
|
||||
class_name Mission
|
||||
|
||||
var biomes: Array[Array] #Array containing arrays that contain biomes
|
||||
#Index of Array = Biome priorety
|
||||
Reference in New Issue
Block a user