''' ''' Represents an Offset Map to be stored by the LevelLoader. ''' Public Class OffsetMap ''' ''' The identifier of this offset map, which contains Weather, Time and Season. ''' Public ReadOnly Property Identifier() As String ''' ''' The name of the file relative to *\maps\ with extension. ''' Like Level.vb-LevelFile ''' Public ReadOnly Property MapName() As String ''' ''' If this map got loaded. ''' Public ReadOnly Property Loaded() As Boolean = False ''' ''' The list of entities. ''' Only filled if LoadMap was performed. ''' Public ReadOnly Property Entities() As List(Of Entity) = Nothing ''' ''' The list of floors. ''' Only filled if LoadMap was performed. ''' Public ReadOnly Property Floors() As List(Of Entity) = Nothing ''' ''' Creates a new instance of the OffsetMap class. ''' Public Sub New(ByVal MapName As String) _MapName = MapName ' Set the identifier: ' Offset Map Map Weather Region Weather Time Season _Identifier = _MapName & "|" & Screen.Level.World.CurrentMapWeather & "|" & World.GetCurrentRegionWeather() & "|" & World.GetTime() & "|" & World.CurrentSeason() End Sub ''' ''' Loads the offset map. ''' Public Sub LoadMap(ByVal Offset As Vector3) _Loaded = True End Sub Public Sub ApplyToLevel(ByVal Level As Level) End Sub End Class