### YamlMime:ManagedReference
items:
- uid: TinyLife.World.Map
commentId: T:TinyLife.World.Map
id: Map
parent: TinyLife.World
children:
- TinyLife.World.Map.#ctor(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.AddHousehold(TinyLife.World.Lot)
- TinyLife.World.Map.AddLight(TinyLife.Objects.Light)
- TinyLife.World.Map.AddLot(Microsoft.Xna.Framework.Rectangle)
- TinyLife.World.Map.AddLot(TinyLife.World.Lot)
- TinyLife.World.Map.AddNewRoomsAndValidateExisting(Microsoft.Xna.Framework.Point[],TinyLife.Tools.UndoableAction,System.Boolean)
- TinyLife.World.Map.AddObject(TinyLife.Objects.MapObject)
- TinyLife.World.Map.AddRoad(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.AddRoof(TinyLife.World.Roof)
- TinyLife.World.Map.AddWall(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.AddWall(TinyLife.World.Wall)
- TinyLife.World.Map.AdoptableChildren
- TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2})
- TinyLife.World.Map.ApplyInverseCameraRotation(Microsoft.Xna.Framework.Vector2,System.Nullable{MLEM.Misc.Direction2})
- TinyLife.World.Map.CanWalkBetween(TinyLife.Objects.Person,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,System.Boolean,System.Nullable{MLEM.Misc.RectangleF},System.Nullable{Microsoft.Xna.Framework.Matrix},Microsoft.Xna.Framework.Graphics.RenderTarget2D,System.Boolean)
- TinyLife.World.Map.Finalize
- TinyLife.World.Map.GetAllLotEmployments
- TinyLife.World.Map.GetClosestEmptyTile(Microsoft.Xna.Framework.Vector2,System.Int32,System.Boolean,System.Boolean,System.Boolean)
- TinyLife.World.Map.GetClosestFreeExitPoint(Microsoft.Xna.Framework.Vector2)
- TinyLife.World.Map.GetClosestRoads(Microsoft.Xna.Framework.Point,System.Int32)
- TinyLife.World.Map.GetClosestRoadsidePosition(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Vector2)
- TinyLife.World.Map.GetDeadPerson(System.Guid)
- TinyLife.World.Map.GetDepth(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
- TinyLife.World.Map.GetExitRoads
- TinyLife.World.Map.GetHousehold(TinyLife.Objects.Person)
- TinyLife.World.Map.GetHousehold(TinyLife.World.Lot)
- TinyLife.World.Map.GetHouseholds
- TinyLife.World.Map.GetLot(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.GetLot(System.Guid)
- TinyLife.World.Map.GetLots
- TinyLife.World.Map.GetMapSampler
- TinyLife.World.Map.GetObject``1(System.Guid)
- TinyLife.World.Map.GetObjects``1(MLEM.Misc.RectangleF)
- TinyLife.World.Map.GetPathCost(TinyLife.Objects.Person,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.GetPeople
- TinyLife.World.Map.GetRandomTile(System.Random,Microsoft.Xna.Framework.Vector2,System.Int32,System.Boolean,System.Boolean,System.Predicate{Microsoft.Xna.Framework.Point})
- TinyLife.World.Map.GetRegularVisitors
- TinyLife.World.Map.GetRoads
- TinyLife.World.Map.GetRoof(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.GetRoofs(MLEM.Misc.RectangleF)
- TinyLife.World.Map.GetRoom(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.GetSection(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.GetSections(Microsoft.Xna.Framework.Point,System.Int32)
- TinyLife.World.Map.GetSections(MLEM.Misc.RectangleF,System.Int32)
- TinyLife.World.Map.GetTile(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.GetTilesAround(Microsoft.Xna.Framework.Vector2,System.Int32,System.Boolean,System.Boolean,System.Predicate{Microsoft.Xna.Framework.Point})
- TinyLife.World.Map.GetWallBetween(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.GetWalls(MLEM.Misc.RectangleF)
- TinyLife.World.Map.IsFreeSpot(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.IsInBounds(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.IsLotHidden(TinyLife.World.Lot)
- TinyLife.World.Map.IsRoad(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.LoadStaticMap(System.String,System.Boolean,System.Action{System.String},System.Action{System.Single})
- TinyLife.World.Map.MailToSend
- TinyLife.World.Map.MarkDirtyForPathfinding(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.MarkObjectDirtyForDrawing(TinyLife.Objects.MapObject,TinyLife.World.MapSection,System.Boolean)
- TinyLife.World.Map.MarkTileDirtyForDrawing(Microsoft.Xna.Framework.Point)
- TinyLife.World.Map.MoveEverything(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Rectangle,System.Boolean,TinyLife.World.Tile)
- TinyLife.World.Map.OnCameraRotationChanged(MLEM.Misc.Direction2,MLEM.Misc.Direction2)
- TinyLife.World.Map.OnEventsAttachable
- TinyLife.World.Map.OnObjectAdded
- TinyLife.World.Map.OnObjectRemoved
- TinyLife.World.Map.OnUpdate
- TinyLife.World.Map.PlaySound(Microsoft.Xna.Framework.Audio.SoundEffect,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean,System.Boolean)
- TinyLife.World.Map.PlaySound(Microsoft.Xna.Framework.Audio.SoundEffect,TinyLife.World.MapAudioEmitter,System.Single,System.Single,System.Boolean,System.Boolean)
- TinyLife.World.Map.PostValidate(System.Action{System.String},System.Action{System.Single})
- TinyLife.World.Map.RemoveHousehold(TinyLife.World.Household)
- TinyLife.World.Map.RemoveLight(TinyLife.Objects.Light)
- TinyLife.World.Map.RemoveLot(TinyLife.World.Lot)
- TinyLife.World.Map.RemoveObject(TinyLife.Objects.MapObject)
- TinyLife.World.Map.RemoveRoof(TinyLife.World.Roof)
- TinyLife.World.Map.RemoveWall(TinyLife.World.Wall)
- TinyLife.World.Map.RoadRadius
- TinyLife.World.Map.SetTile(Microsoft.Xna.Framework.Point,TinyLife.World.Tile)
- TinyLife.World.Map.Size
- TinyLife.World.Map.SizeInSections
- TinyLife.World.Map.StaticVersion
- TinyLife.World.Map.Time
- TinyLife.World.Map.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
- TinyLife.World.Map.UpdateExternalPeople(System.Action{System.Single})
- TinyLife.World.Map.Validate(System.Action{System.String},System.Action{System.Single})
- TinyLife.World.Map.ValidateExistingRooms(Microsoft.Xna.Framework.Point[])
langs:
- csharp
- vb
name: Map
nameWithType: Map
fullName: TinyLife.World.Map
type: Class
source:
remote:
path: TinyLife/World/Map.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Map
path: ../TinyLife/World/Map.cs
startLine: 38
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA map holds all of the data about a city, like its tiles, its objects and its roads.\nA map is split into objects which allows faster retrieval of objects in an area.\n"
example: []
syntax:
content: >-
[DataContract]
public class Map : JsonTypeSafeGenericDataHolder, IGenericDataHolder
content.vb: >-
Public Class Map Inherits JsonTypeSafeGenericDataHolder Implements IGenericDataHolder
inheritance:
- System.Object
- MLEM.Data.Json.JsonTypeSafeGenericDataHolder
implements:
- MLEM.Misc.IGenericDataHolder
inheritedMembers:
- MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData(System.String,System.Object)
- MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData``1(System.String,{T})
- MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData``1(System.String)
- MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetDataKeys
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
extensionMethods:
- TinyLife.World.Map.TinyLife.Utilities.Extensions.JsonCopy``1
attributes:
- type: System.Runtime.Serialization.DataContractAttribute
ctor: System.Runtime.Serialization.DataContractAttribute.#ctor
arguments: []
- uid: TinyLife.World.Map.RoadRadius
commentId: F:TinyLife.World.Map.RoadRadius
id: RoadRadius
parent: TinyLife.World.Map
langs:
- csharp
- vb
name: RoadRadius
nameWithType: Map.RoadRadius
fullName: TinyLife.World.Map.RoadRadius
type: Field
source:
remote:
path: TinyLife/World/Map.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RoadRadius
path: ../TinyLife/World/Map.cs
startLine: 45
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nThis field holds the radius that roads are required to have (in road tiles) excluding the center dotted line tiles.\nIt is set to 2.\n"
example: []
syntax:
content: public const int RoadRadius = 2
return:
type: System.Int32
content.vb: Public Const RoadRadius As Integer = 2
- uid: TinyLife.World.Map.OnEventsAttachable
commentId: E:TinyLife.World.Map.OnEventsAttachable
id: OnEventsAttachable
parent: TinyLife.World.Map
langs:
- csharp
- vb
name: OnEventsAttachable
nameWithType: Map.OnEventsAttachable
fullName: TinyLife.World.Map.OnEventsAttachable
type: Event
source:
remote:
path: TinyLife/World/Map.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnEventsAttachable
path: ../TinyLife/World/Map.cs
startLine: 51
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nAn event that is invoked when non-static events for a are ready to be attached to.\nThis event is invoked in .\n"
example: []
syntax:
content: public static event Action