diff --git a/Changelog.md b/Changelog.md index 31e4996..efe6040 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,19 @@ +# 0.37.2 +*November 4, 2023* + +Additions +- Added the ability to apply wallpaper to the areas below stairs + +Improvements +- Increase the size of various previews in build mode +- Improved depth calculations for wallpaper and tiles + +Fixes +- Fixed wallpaper and tile previews rendering incorrectly in build mode +- Fixed a rare crash when people with map-wide lot employments visit other maps +- Fixed people with lot employments visiting other maps causing them to get stuck +- Fixed a birthday notification being displayed for adults even though they can't age up + # 0.37.1 *October 30, 2023* diff --git a/docs/api/.manifest b/docs/api/.manifest index 81ad927..1c6323f 100644 --- a/docs/api/.manifest +++ b/docs/api/.manifest @@ -454,7 +454,7 @@ "TinyLife.Actions.ActionType.TypeSettings.Texture": "TinyLife.Actions.ActionType.TypeSettings.yml", "TinyLife.Actions.ActionType.UseDiaper": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.VisitLot": "TinyLife.Actions.ActionType.yml", - "TinyLife.Actions.ActionType.VisitLotEmploymentLot": "TinyLife.Actions.ActionType.yml", + "TinyLife.Actions.ActionType.VisitLotEmploymentLocation": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.VisitorGoHome": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.WaitForInviteIn": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.WaitForOrder": "TinyLife.Actions.ActionType.yml", @@ -1773,8 +1773,8 @@ "TinyLife.Objects.FenceType": "TinyLife.Objects.FenceType.yml", "TinyLife.Objects.FenceType.#ctor(System.String,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme[])": "TinyLife.Objects.FenceType.yml", "TinyLife.Objects.FenceType.ColorSchemes": "TinyLife.Objects.FenceType.yml", - "TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.Objects.FenceType.yml", - "TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single)": "TinyLife.Objects.FenceType.yml", + "TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.Objects.FenceType.yml", + "TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single)": "TinyLife.Objects.FenceType.yml", "TinyLife.Objects.FenceType.Icon": "TinyLife.Objects.FenceType.yml", "TinyLife.Objects.FenceType.Name": "TinyLife.Objects.FenceType.yml", "TinyLife.Objects.FenceType.Price": "TinyLife.Objects.FenceType.yml", @@ -3705,7 +3705,6 @@ "TinyLife.World.Map.GetStairs(MLEM.Misc.RectangleF)": "TinyLife.World.Map.yml", "TinyLife.World.Map.GetStoredDeadPeople": "TinyLife.World.Map.yml", "TinyLife.World.Map.GetTile(Microsoft.Xna.Framework.Point,System.Int32)": "TinyLife.World.Map.yml", - "TinyLife.World.Map.GetTileDepth(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean)": "TinyLife.World.Map.yml", "TinyLife.World.Map.GetTilesAround(Microsoft.Xna.Framework.Vector2,System.Single,System.Int32,System.Boolean,System.Boolean,System.Predicate{Microsoft.Xna.Framework.Point})": "TinyLife.World.Map.yml", "TinyLife.World.Map.GetVisibleWorldArea(MLEM.Misc.RectangleF)": "TinyLife.World.Map.yml", "TinyLife.World.Map.GetWallBetween``1(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32)": "TinyLife.World.Map.yml", @@ -3777,7 +3776,7 @@ "TinyLife.World.Opening.CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person)": "TinyLife.World.Opening.yml", "TinyLife.World.Opening.Color": "TinyLife.World.Opening.yml", "TinyLife.World.Opening.Colors": "TinyLife.World.Opening.yml", - "TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.World.Opening.yml", + "TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.World.Opening.yml", "TinyLife.World.Opening.GetDescription": "TinyLife.World.Opening.yml", "TinyLife.World.Opening.GetPrice": "TinyLife.World.Opening.yml", "TinyLife.World.Opening.Type": "TinyLife.World.Opening.yml", @@ -3787,8 +3786,8 @@ "TinyLife.World.OpeningType.#ctor(System.String,MLEM.Textures.TextureRegion,TinyLife.World.WallMode,System.Int32,TinyLife.Utilities.ColorScheme[],System.Func{TinyLife.World.OpeningType,System.Int32[],TinyLife.Objects.WallLike,TinyLife.World.Opening},MLEM.Textures.TextureRegion)": "TinyLife.World.OpeningType.yml", "TinyLife.World.OpeningType.Colors": "TinyLife.World.OpeningType.yml", "TinyLife.World.OpeningType.Construct(System.Int32[],TinyLife.Objects.WallLike)": "TinyLife.World.OpeningType.yml", - "TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},Microsoft.Xna.Framework.Point)": "TinyLife.World.OpeningType.yml", - "TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single)": "TinyLife.World.OpeningType.yml", + "TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},System.Single,Microsoft.Xna.Framework.Point)": "TinyLife.World.OpeningType.yml", + "TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single)": "TinyLife.World.OpeningType.yml", "TinyLife.World.OpeningType.Icon": "TinyLife.World.OpeningType.yml", "TinyLife.World.OpeningType.Name": "TinyLife.World.OpeningType.yml", "TinyLife.World.OpeningType.Price": "TinyLife.World.OpeningType.yml", @@ -3871,12 +3870,14 @@ "TinyLife.World.Stairs.TopEntryPosition": "TinyLife.World.Stairs.yml", "TinyLife.World.Stairs.Type": "TinyLife.World.Stairs.yml", "TinyLife.World.Stairs.Validate(TinyLife.World.Map)": "TinyLife.World.Stairs.yml", + "TinyLife.World.Stairs.Wallpaper": "TinyLife.World.Stairs.yml", "TinyLife.World.StairsType": "TinyLife.World.StairsType.yml", - "TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[])": "TinyLife.World.StairsType.yml", - "TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme[])": "TinyLife.World.StairsType.yml", + "TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[])": "TinyLife.World.StairsType.yml", + "TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,TinyLife.Utilities.ColorScheme[])": "TinyLife.World.StairsType.yml", "TinyLife.World.StairsType.ColorSchemes": "TinyLife.World.StairsType.yml", "TinyLife.World.StairsType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,MLEM.Misc.Direction2,MLEM.Misc.Direction2,System.Int32[],TinyLife.World.Wallpaper,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.World.StairsType.yml", "TinyLife.World.StairsType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single)": "TinyLife.World.StairsType.yml", + "TinyLife.World.StairsType.HasWallpaper": "TinyLife.World.StairsType.yml", "TinyLife.World.StairsType.Icon": "TinyLife.World.StairsType.yml", "TinyLife.World.StairsType.Name": "TinyLife.World.StairsType.yml", "TinyLife.World.StairsType.Price": "TinyLife.World.StairsType.yml", @@ -3887,7 +3888,7 @@ "TinyLife.World.SwingingDoor": "TinyLife.World.SwingingDoor.yml", "TinyLife.World.SwingingDoor.#ctor(TinyLife.World.OpeningType,System.Int32[])": "TinyLife.World.SwingingDoor.yml", "TinyLife.World.SwingingDoor.CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person)": "TinyLife.World.SwingingDoor.yml", - "TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.World.SwingingDoor.yml", + "TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.World.SwingingDoor.yml", "TinyLife.World.SwingingDoor.IsOpen(TinyLife.World.Map,TinyLife.Objects.WallLike)": "TinyLife.World.SwingingDoor.yml", "TinyLife.World.SwingingDoor.Lock": "TinyLife.World.SwingingDoor.yml", "TinyLife.World.Tile": "TinyLife.World.Tile.yml", @@ -3907,6 +3908,7 @@ "TinyLife.World.Tile.Draw(Microsoft.Xna.Framework.GameTime,System.Object,TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item},System.Boolean)": "TinyLife.World.Tile.yml", "TinyLife.World.Tile.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,System.Single)": "TinyLife.World.Tile.yml", "TinyLife.World.Tile.GetAutoTileBorder(TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Point,TinyLife.World.Tile)": "TinyLife.World.Tile.yml", + "TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean)": "TinyLife.World.Tile.yml", "TinyLife.World.Tile.GetPrice": "TinyLife.World.Tile.yml", "TinyLife.World.Tile.GetVariationTexture(MLEM.Misc.Direction2,Microsoft.Xna.Framework.Point)": "TinyLife.World.Tile.yml", "TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32)": "TinyLife.World.Tile.yml", @@ -3964,8 +3966,8 @@ "TinyLife.World.Wallpaper.Colors": "TinyLife.World.Wallpaper.yml", "TinyLife.World.Wallpaper.ColorSchemes": "TinyLife.World.Wallpaper.yml", "TinyLife.World.Wallpaper.DefaultColors": "TinyLife.World.Wallpaper.yml", - "TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Single,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.World.Wallpaper.yml", - "TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Single)": "TinyLife.World.Wallpaper.yml", + "TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.World.Wallpaper.yml", + "TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Single)": "TinyLife.World.Wallpaper.yml", "TinyLife.World.Wallpaper.GetPrice": "TinyLife.World.Wallpaper.yml", "TinyLife.World.Wallpaper.Icon": "TinyLife.World.Wallpaper.yml", "TinyLife.World.Wallpaper.Name": "TinyLife.World.Wallpaper.yml", diff --git a/docs/api/TinyLife.Actions.ActionType.yml b/docs/api/TinyLife.Actions.ActionType.yml index 583b152..165d618 100644 --- a/docs/api/TinyLife.Actions.ActionType.yml +++ b/docs/api/TinyLife.Actions.ActionType.yml @@ -310,7 +310,7 @@ items: - TinyLife.Actions.ActionType.Types - TinyLife.Actions.ActionType.UseDiaper - TinyLife.Actions.ActionType.VisitLot - - TinyLife.Actions.ActionType.VisitLotEmploymentLot + - TinyLife.Actions.ActionType.VisitLotEmploymentLocation - TinyLife.Actions.ActionType.VisitorGoHome - TinyLife.Actions.ActionType.WaitForInviteIn - TinyLife.Actions.ActionType.WaitForOrder @@ -929,33 +929,33 @@ items: return: type: TinyLife.Actions.ActionType content.vb: Public Shared ReadOnly BeAwayFromLotEmployment As ActionType -- uid: TinyLife.Actions.ActionType.VisitLotEmploymentLot - commentId: F:TinyLife.Actions.ActionType.VisitLotEmploymentLot - id: VisitLotEmploymentLot +- uid: TinyLife.Actions.ActionType.VisitLotEmploymentLocation + commentId: F:TinyLife.Actions.ActionType.VisitLotEmploymentLocation + id: VisitLotEmploymentLocation parent: TinyLife.Actions.ActionType langs: - csharp - vb - name: VisitLotEmploymentLot - nameWithType: ActionType.VisitLotEmploymentLot - fullName: TinyLife.Actions.ActionType.VisitLotEmploymentLot + name: VisitLotEmploymentLocation + nameWithType: ActionType.VisitLotEmploymentLocation + fullName: TinyLife.Actions.ActionType.VisitLotEmploymentLocation type: Field source: remote: path: TinyLife/Actions/ActionType.Internal.cs branch: main repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: VisitLotEmploymentLot + id: VisitLotEmploymentLocation path: ../TinyLife/Actions/ActionType.Internal.cs startLine: 31 assemblies: - Tiny Life namespace: TinyLife.Actions syntax: - content: public static readonly ActionType VisitLotEmploymentLot + content: public static readonly ActionType VisitLotEmploymentLocation return: type: TinyLife.Actions.ActionType - content.vb: Public Shared ReadOnly VisitLotEmploymentLot As ActionType + content.vb: Public Shared ReadOnly VisitLotEmploymentLocation As ActionType - uid: TinyLife.Actions.ActionType.DeliverMail commentId: F:TinyLife.Actions.ActionType.DeliverMail id: DeliverMail diff --git a/docs/api/TinyLife.Objects.AgeGroup.yml b/docs/api/TinyLife.Objects.AgeGroup.yml index ddd3bde..e8584f8 100644 --- a/docs/api/TinyLife.Objects.AgeGroup.yml +++ b/docs/api/TinyLife.Objects.AgeGroup.yml @@ -22,7 +22,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AgeGroup path: ../TinyLife/Objects/Person.cs - startLine: 3505 + startLine: 3507 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -63,7 +63,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Baby path: ../TinyLife/Objects/Person.cs - startLine: 3512 + startLine: 3514 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -91,7 +91,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Child path: ../TinyLife/Objects/Person.cs - startLine: 3518 + startLine: 3520 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -119,7 +119,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Adult path: ../TinyLife/Objects/Person.cs - startLine: 3524 + startLine: 3526 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.DeathReason.yml b/docs/api/TinyLife.Objects.DeathReason.yml index 5218de8..96c7d33 100644 --- a/docs/api/TinyLife.Objects.DeathReason.yml +++ b/docs/api/TinyLife.Objects.DeathReason.yml @@ -24,7 +24,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DeathReason path: ../TinyLife/Objects/Person.cs - startLine: 3473 + startLine: 3475 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -53,7 +53,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Starvation path: ../TinyLife/Objects/Person.cs - startLine: 3479 + startLine: 3481 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -81,7 +81,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InexplicableReasons path: ../TinyLife/Objects/Person.cs - startLine: 3484 + startLine: 3486 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -109,7 +109,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Electrocution path: ../TinyLife/Objects/Person.cs - startLine: 3489 + startLine: 3491 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -137,7 +137,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TooMuchProtein path: ../TinyLife/Objects/Person.cs - startLine: 3493 + startLine: 3495 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -165,7 +165,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TooMuchBrew path: ../TinyLife/Objects/Person.cs - startLine: 3497 + startLine: 3499 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.FenceType.yml b/docs/api/TinyLife.Objects.FenceType.yml index 38ca825..33be048 100644 --- a/docs/api/TinyLife.Objects.FenceType.yml +++ b/docs/api/TinyLife.Objects.FenceType.yml @@ -7,8 +7,8 @@ items: children: - TinyLife.Objects.FenceType.#ctor(System.String,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme[]) - TinyLife.Objects.FenceType.ColorSchemes - - TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color}) - - TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single) + - TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color}) + - TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) - TinyLife.Objects.FenceType.Icon - TinyLife.Objects.FenceType.Name - TinyLife.Objects.FenceType.Price @@ -30,7 +30,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FenceType path: ../TinyLife/Objects/FenceWall.cs - startLine: 107 + startLine: 106 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -75,7 +75,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Types path: ../TinyLife/Objects/FenceWall.cs - startLine: 114 + startLine: 113 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -104,7 +104,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: ../TinyLife/Objects/FenceWall.cs - startLine: 126 + startLine: 125 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -133,7 +133,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Price path: ../TinyLife/Objects/FenceWall.cs - startLine: 130 + startLine: 129 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -162,7 +162,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Icon path: ../TinyLife/Objects/FenceWall.cs - startLine: 134 + startLine: 133 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -191,7 +191,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ColorSchemes path: ../TinyLife/Objects/FenceWall.cs - startLine: 138 + startLine: 137 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -220,7 +220,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Textures path: ../TinyLife/Objects/FenceWall.cs - startLine: 142 + startLine: 141 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -249,7 +249,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TextureRegion path: ../TinyLife/Objects/FenceWall.cs - startLine: 147 + startLine: 146 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -278,7 +278,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Objects/FenceWall.cs - startLine: 158 + startLine: 157 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -310,16 +310,16 @@ items: nameWithType.vb: FenceType.New(String, Single, TextureRegion, Dictionary(Of Point, TextureRegion), Point, ParamArray ColorScheme()) fullName.vb: TinyLife.Objects.FenceType.New(String, Single, MLEM.Textures.TextureRegion, System.Collections.Generic.Dictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion), Microsoft.Xna.Framework.Point, ParamArray TinyLife.Utilities.ColorScheme()) name.vb: New(String, Single, TextureRegion, Dictionary(Of Point, TextureRegion), Point, ParamArray ColorScheme()) -- uid: TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color}) - commentId: M:TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color}) - id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color}) +- uid: TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color}) + commentId: M:TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color}) + id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Boolean,System.Boolean,System.Int32[],MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Color}) parent: TinyLife.Objects.FenceType langs: - csharp - vb - name: Draw(GameTime, SpriteBatch, Vector2, bool, float, float, bool, bool, int[], Direction2, Color?) - nameWithType: FenceType.Draw(GameTime, SpriteBatch, Vector2, bool, float, float, bool, bool, int[], Direction2, Color?) - fullName: TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, bool, float, float, bool, bool, int[], MLEM.Misc.Direction2, Microsoft.Xna.Framework.Color?) + name: Draw(GameTime, SpriteBatch, Map, Point, Point, int, Vector2, bool, float, bool, bool, int[], Direction2, Color?) + nameWithType: FenceType.Draw(GameTime, SpriteBatch, Map, Point, Point, int, Vector2, bool, float, bool, bool, int[], Direction2, Color?) + fullName: TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point, int, Microsoft.Xna.Framework.Vector2, bool, float, bool, bool, int[], MLEM.Misc.Direction2, Microsoft.Xna.Framework.Color?) type: Method source: remote: @@ -328,14 +328,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: ../TinyLife/Objects/FenceWall.cs - startLine: 181 + startLine: 180 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nDraws this fence type at the given location with the given settings.\n" example: [] syntax: - content: public virtual void Draw(GameTime time, SpriteBatch batch, Vector2 drawPos, bool vertical, float scale, float depth, bool hasPoleNeg, bool hasPolePos, int[] colors, Direction2 cameraRotation, Color? overrideColor = null) + content: public virtual void Draw(GameTime time, SpriteBatch batch, Map map, Point pos1, Point pos2, int floor, Vector2 drawPos, bool vertical, float scale, bool hasPoleNeg, bool hasPolePos, int[] colors, Direction2 cameraRotation, Color? overrideColor = null) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -343,6 +343,14 @@ items: - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch description: The sprite batch to use for drawing. + - id: map + type: TinyLife.World.Map + - id: pos1 + type: Microsoft.Xna.Framework.Point + - id: pos2 + type: Microsoft.Xna.Framework.Point + - id: floor + type: System.Int32 - id: drawPos type: Microsoft.Xna.Framework.Vector2 description: The position, in screen space, to draw at. @@ -352,9 +360,6 @@ items: - id: scale type: System.Single description: The scale to draw with. - - id: depth - type: System.Single - description: The depth to draw with. - id: hasPoleNeg type: System.Boolean description: Whether the fence drawn has a pole in the negative direction. @@ -370,21 +375,21 @@ items: - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} description: An optional override color to use instead of this fence type's . - content.vb: Public Overridable Sub Draw(time As GameTime, batch As SpriteBatch, drawPos As Vector2, vertical As Boolean, scale As Single, depth As Single, hasPoleNeg As Boolean, hasPolePos As Boolean, colors As Integer(), cameraRotation As Direction2, overrideColor As Color? = Nothing) + content.vb: Public Overridable Sub Draw(time As GameTime, batch As SpriteBatch, map As Map, pos1 As Point, pos2 As Point, floor As Integer, drawPos As Vector2, vertical As Boolean, scale As Single, hasPoleNeg As Boolean, hasPolePos As Boolean, colors As Integer(), cameraRotation As Direction2, overrideColor As Color? = Nothing) overload: TinyLife.Objects.FenceType.Draw* - nameWithType.vb: FenceType.Draw(GameTime, SpriteBatch, Vector2, Boolean, Single, Single, Boolean, Boolean, Integer(), Direction2, Color?) - fullName.vb: TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Boolean, Single, Single, Boolean, Boolean, Integer(), MLEM.Misc.Direction2, Microsoft.Xna.Framework.Color?) - name.vb: Draw(GameTime, SpriteBatch, Vector2, Boolean, Single, Single, Boolean, Boolean, Integer(), Direction2, Color?) -- uid: TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single) - commentId: M:TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single) - id: DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single) + nameWithType.vb: FenceType.Draw(GameTime, SpriteBatch, Map, Point, Point, Integer, Vector2, Boolean, Single, Boolean, Boolean, Integer(), Direction2, Color?) + fullName.vb: TinyLife.Objects.FenceType.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point, Integer, Microsoft.Xna.Framework.Vector2, Boolean, Single, Boolean, Boolean, Integer(), MLEM.Misc.Direction2, Microsoft.Xna.Framework.Color?) + name.vb: Draw(GameTime, SpriteBatch, Map, Point, Point, Integer, Vector2, Boolean, Single, Boolean, Boolean, Integer(), Direction2, Color?) +- uid: TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) + commentId: M:TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) + id: DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) parent: TinyLife.Objects.FenceType langs: - csharp - vb - name: DrawUi(Element, SpriteBatch, GameTime, int[], float) - nameWithType: FenceType.DrawUi(Element, SpriteBatch, GameTime, int[], float) - fullName: TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, int[], float) + name: DrawUi(Element, SpriteBatch, GameTime, Map, int[], float) + nameWithType: FenceType.DrawUi(Element, SpriteBatch, GameTime, Map, int[], float) + fullName: TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, TinyLife.World.Map, int[], float) type: Method source: remote: @@ -393,14 +398,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawUi path: ../TinyLife/Objects/FenceWall.cs - startLine: 216 + startLine: 223 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nDraws this fence in UI space, based on the position and size of the given .\n" example: [] syntax: - content: public virtual void DrawUi(Element e, SpriteBatch batch, GameTime time, int[] colors, float drawScale) + content: public virtual void DrawUi(Element e, SpriteBatch batch, GameTime time, Map map, int[] colors, float drawScale) parameters: - id: e type: MLEM.Ui.Elements.Element @@ -411,17 +416,19 @@ items: - id: time type: Microsoft.Xna.Framework.GameTime description: The game time. + - id: map + type: TinyLife.World.Map - id: colors type: System.Int32[] description: The color indices in this fence type's to draw with. - id: drawScale type: System.Single description: The scale to draw with. - content.vb: Public Overridable Sub DrawUi(e As Element, batch As SpriteBatch, time As GameTime, colors As Integer(), drawScale As Single) + content.vb: Public Overridable Sub DrawUi(e As Element, batch As SpriteBatch, time As GameTime, map As Map, colors As Integer(), drawScale As Single) overload: TinyLife.Objects.FenceType.DrawUi* - nameWithType.vb: FenceType.DrawUi(Element, SpriteBatch, GameTime, Integer(), Single) - fullName.vb: TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, Integer(), Single) - name.vb: DrawUi(Element, SpriteBatch, GameTime, Integer(), Single) + nameWithType.vb: FenceType.DrawUi(Element, SpriteBatch, GameTime, Map, Integer(), Single) + fullName.vb: TinyLife.Objects.FenceType.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, TinyLife.World.Map, Integer(), Single) + name.vb: DrawUi(Element, SpriteBatch, GameTime, Map, Integer(), Single) - uid: TinyLife.Objects.FenceType.Register(TinyLife.Objects.FenceType) commentId: M:TinyLife.Objects.FenceType.Register(TinyLife.Objects.FenceType) id: Register(TinyLife.Objects.FenceType) @@ -440,7 +447,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/Objects/FenceWall.cs - startLine: 228 + startLine: 235 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1197,6 +1204,23 @@ references: name: SpriteBatch nameWithType: SpriteBatch fullName: Microsoft.Xna.Framework.Graphics.SpriteBatch +- uid: TinyLife.World.Map + commentId: T:TinyLife.World.Map + parent: TinyLife.World + name: Map + nameWithType: Map + fullName: TinyLife.World.Map +- uid: System.Int32 + commentId: T:System.Int32 + parent: System + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + name: int + nameWithType: int + fullName: int + nameWithType.vb: Integer + fullName.vb: Integer + name.vb: Integer - uid: Microsoft.Xna.Framework.Vector2 commentId: T:Microsoft.Xna.Framework.Vector2 parent: Microsoft.Xna.Framework @@ -1300,6 +1324,23 @@ references: - uid: Microsoft.Xna.Framework.Graphics name: Graphics isExternal: true +- uid: TinyLife.World + commentId: N:TinyLife.World + name: TinyLife.World + nameWithType: TinyLife.World + fullName: TinyLife.World + spec.csharp: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.World + name: World + spec.vb: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.World + name: World - uid: MLEM.Misc commentId: N:MLEM.Misc isExternal: true diff --git a/docs/api/TinyLife.Objects.FenceWall.yml b/docs/api/TinyLife.Objects.FenceWall.yml index 04db7c2..c71f87d 100644 --- a/docs/api/TinyLife.Objects.FenceWall.yml +++ b/docs/api/TinyLife.Objects.FenceWall.yml @@ -259,7 +259,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/Objects/FenceWall.cs - startLine: 52 + startLine: 51 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -294,7 +294,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPrice path: ../TinyLife/Objects/FenceWall.cs - startLine: 61 + startLine: 60 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -326,7 +326,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnNeighborChanged path: ../TinyLife/Objects/FenceWall.cs - startLine: 66 + startLine: 65 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.LifeSpan.yml b/docs/api/TinyLife.Objects.LifeSpan.yml index 77899b4..e811144 100644 --- a/docs/api/TinyLife.Objects.LifeSpan.yml +++ b/docs/api/TinyLife.Objects.LifeSpan.yml @@ -25,7 +25,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LifeSpan path: ../TinyLife/Objects/Person.cs - startLine: 3532 + startLine: 3534 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -56,7 +56,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VeryShort path: ../TinyLife/Objects/Person.cs - startLine: 3535 + startLine: 3537 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -82,7 +82,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Short path: ../TinyLife/Objects/Person.cs - startLine: 3536 + startLine: 3538 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -108,7 +108,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Normal path: ../TinyLife/Objects/Person.cs - startLine: 3537 + startLine: 3539 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -134,7 +134,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Long path: ../TinyLife/Objects/Person.cs - startLine: 3538 + startLine: 3540 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -160,7 +160,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VeryLong path: ../TinyLife/Objects/Person.cs - startLine: 3539 + startLine: 3541 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -186,7 +186,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Infinite path: ../TinyLife/Objects/Person.cs - startLine: 3540 + startLine: 3542 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml b/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml index 94c9d56..41f2e15 100644 --- a/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EfficiencyModifierDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3368 + startLine: 3370 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml b/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml index 84fc125..b2c26e9 100644 --- a/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EmotionModifiersChangedDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3388 + startLine: 3390 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml b/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml index 2f1c947..7e3af83 100644 --- a/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PassiveActionPriorityDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3378 + startLine: 3380 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml b/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml index cf8fe84..7999a7a 100644 --- a/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RelationshipChangeDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3393 + startLine: 3395 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml b/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml index f7c4383..051af6f 100644 --- a/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RestoreNeedDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3383 + startLine: 3385 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml b/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml index 7dc74e6..82a209d 100644 --- a/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WalkSpeedDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3373 + startLine: 3375 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.yml b/docs/api/TinyLife.Objects.Person.yml index db035a9..7e676e9 100644 --- a/docs/api/TinyLife.Objects.Person.yml +++ b/docs/api/TinyLife.Objects.Person.yml @@ -3580,7 +3580,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: ../TinyLife/Objects/Person.cs - startLine: 1050 + startLine: 1052 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3627,7 +3627,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/Objects/Person.cs - startLine: 1095 + startLine: 1097 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3659,7 +3659,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetCategories path: ../TinyLife/Objects/Person.cs - startLine: 1163 + startLine: 1165 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3695,7 +3695,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Intersects path: ../TinyLife/Objects/Person.cs - startLine: 1168 + startLine: 1170 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3731,7 +3731,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHoverInfo path: ../TinyLife/Objects/Person.cs - startLine: 1173 + startLine: 1175 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3764,7 +3764,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeActionSpotInfo path: ../TinyLife/Objects/Person.cs - startLine: 1193 + startLine: 1195 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3803,7 +3803,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnCameraRotationChanged path: ../TinyLife/Objects/Person.cs - startLine: 1206 + startLine: 1208 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3839,7 +3839,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FocusCameraOnEvent path: ../TinyLife/Objects/Person.cs - startLine: 1217 + startLine: 1219 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3879,7 +3879,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetJob path: ../TinyLife/Objects/Person.cs - startLine: 1238 + startLine: 1240 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3929,7 +3929,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddJob path: ../TinyLife/Objects/Person.cs - startLine: 1252 + startLine: 1254 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3970,7 +3970,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveJob path: ../TinyLife/Objects/Person.cs - startLine: 1265 + startLine: 1267 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4005,7 +4005,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ResetToStatic path: ../TinyLife/Objects/Person.cs - startLine: 1272 + startLine: 1274 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4047,7 +4047,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MoveToMap path: ../TinyLife/Objects/Person.cs - startLine: 1334 + startLine: 1336 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4092,7 +4092,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PrepareForPermanentRemoval path: ../TinyLife/Objects/Person.cs - startLine: 1352 + startLine: 1354 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4120,7 +4120,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VisitLot path: ../TinyLife/Objects/Person.cs - startLine: 1366 + startLine: 1368 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4152,7 +4152,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawUi path: ../TinyLife/Objects/Person.cs - startLine: 1383 + startLine: 1385 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4196,7 +4196,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRelationship path: ../TinyLife/Objects/Person.cs - startLine: 1394 + startLine: 1396 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4237,7 +4237,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ChangeFriendship path: ../TinyLife/Objects/Person.cs - startLine: 1419 + startLine: 1421 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4275,7 +4275,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ChangeRomance path: ../TinyLife/Objects/Person.cs - startLine: 1471 + startLine: 1473 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4313,7 +4313,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisplayEmote path: ../TinyLife/Objects/Person.cs - startLine: 1504 + startLine: 1506 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4357,7 +4357,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StopEmoting path: ../TinyLife/Objects/Person.cs - startLine: 1515 + startLine: 1517 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4385,7 +4385,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Speak path: ../TinyLife/Objects/Person.cs - startLine: 1526 + startLine: 1528 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4426,7 +4426,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StopSpeaking path: ../TinyLife/Objects/Person.cs - startLine: 1536 + startLine: 1538 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4454,7 +4454,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisplayEmoteAndSpeak path: ../TinyLife/Objects/Person.cs - startLine: 1553 + startLine: 1555 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4498,7 +4498,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeTalkingSpots path: ../TinyLife/Objects/Person.cs - startLine: 1563 + startLine: 1565 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4532,7 +4532,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OccupyActionSpot path: ../TinyLife/Objects/Person.cs - startLine: 1583 + startLine: 1585 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4579,7 +4579,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OccupyFreeActionSpot path: ../TinyLife/Objects/Person.cs - startLine: 1614 + startLine: 1616 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4629,7 +4629,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OccupyFreeActionSpot path: ../TinyLife/Objects/Person.cs - startLine: 1632 + startLine: 1634 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4679,7 +4679,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsCloseForTalking path: ../TinyLife/Objects/Person.cs - startLine: 1644 + startLine: 1646 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4720,7 +4720,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetNeed path: ../TinyLife/Objects/Person.cs - startLine: 1656 + startLine: 1658 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4755,7 +4755,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetNeedPercentage path: ../TinyLife/Objects/Person.cs - startLine: 1665 + startLine: 1667 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4790,7 +4790,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RestoreNeed path: ../TinyLife/Objects/Person.cs - startLine: 1677 + startLine: 1679 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4834,7 +4834,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RestoreNeed path: ../TinyLife/Objects/Person.cs - startLine: 1713 + startLine: 1715 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4881,7 +4881,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkill path: ../TinyLife/Objects/Person.cs - startLine: 1724 + startLine: 1726 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4922,7 +4922,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkillTotalPercentage path: ../TinyLife/Objects/Person.cs - startLine: 1743 + startLine: 1745 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4957,7 +4957,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkillPointPercentage path: ../TinyLife/Objects/Person.cs - startLine: 1753 + startLine: 1755 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4992,7 +4992,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkillLevel path: ../TinyLife/Objects/Person.cs - startLine: 1763 + startLine: 1765 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5027,7 +5027,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasSkillLevel path: ../TinyLife/Objects/Person.cs - startLine: 1773 + startLine: 1775 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5068,7 +5068,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GainSkill path: ../TinyLife/Objects/Person.cs - startLine: 1785 + startLine: 1787 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5114,7 +5114,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DepleteNeed path: ../TinyLife/Objects/Person.cs - startLine: 1805 + startLine: 1807 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5155,7 +5155,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasPersonality path: ../TinyLife/Objects/Person.cs - startLine: 1816 + startLine: 1818 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5190,7 +5190,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EnqueueAction path: ../TinyLife/Objects/Person.cs - startLine: 1830 + startLine: 1832 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5245,7 +5245,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CancelAction path: ../TinyLife/Objects/Person.cs - startLine: 1861 + startLine: 1863 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5289,7 +5289,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHeldObject path: ../TinyLife/Objects/Person.cs - startLine: 1877 + startLine: 1879 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5329,7 +5329,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetHeldObject path: ../TinyLife/Objects/Person.cs - startLine: 1895 + startLine: 1897 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5379,7 +5379,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetHeldObject path: ../TinyLife/Objects/Person.cs - startLine: 1908 + startLine: 1910 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5417,7 +5417,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveHeldObject path: ../TinyLife/Objects/Person.cs - startLine: 1921 + startLine: 1923 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5454,7 +5454,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHeldActionInfo path: ../TinyLife/Objects/Person.cs - startLine: 1935 + startLine: 1937 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5485,7 +5485,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToCreatedByString path: ../TinyLife/Objects/Person.cs - startLine: 1944 + startLine: 1946 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5516,7 +5516,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Die path: ../TinyLife/Objects/Person.cs - startLine: 1952 + startLine: 1954 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5550,7 +5550,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddEmotion path: ../TinyLife/Objects/Person.cs - startLine: 2050 + startLine: 2052 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5600,7 +5600,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveEmotion path: ../TinyLife/Objects/Person.cs - startLine: 2073 + startLine: 2075 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5635,7 +5635,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LowerEmotion path: ../TinyLife/Objects/Person.cs - startLine: 2094 + startLine: 2096 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5679,7 +5679,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LowerEmotionModifier path: ../TinyLife/Objects/Person.cs - startLine: 2113 + startLine: 2115 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5723,7 +5723,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasEmotionModifier path: ../TinyLife/Objects/Person.cs - startLine: 2129 + startLine: 2131 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5758,7 +5758,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWalkSpeed path: ../TinyLife/Objects/Person.cs - startLine: 2138 + startLine: 2140 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5789,7 +5789,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetEfficiencyModifier path: ../TinyLife/Objects/Person.cs - startLine: 2173 + startLine: 2175 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5836,7 +5836,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasHouseholdMember path: ../TinyLife/Objects/Person.cs - startLine: 2227 + startLine: 2229 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5871,7 +5871,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasHouseholdMember path: ../TinyLife/Objects/Person.cs - startLine: 2232 + startLine: 2234 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5905,7 +5905,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetProjects path: ../TinyLife/Objects/Person.cs - startLine: 2242 + startLine: 2244 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5943,7 +5943,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetProject path: ../TinyLife/Objects/Person.cs - startLine: 2252 + startLine: 2254 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5984,7 +5984,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StartProject path: ../TinyLife/Objects/Person.cs - startLine: 2261 + startLine: 2263 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6019,7 +6019,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPassiveActionPriority path: ../TinyLife/Objects/Person.cs - startLine: 2273 + startLine: 2275 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6054,7 +6054,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomOutfit path: ../TinyLife/Objects/Person.cs - startLine: 2295 + startLine: 2297 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6089,7 +6089,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetCurrentOutfit path: ../TinyLife/Objects/Person.cs - startLine: 2307 + startLine: 2309 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6124,7 +6124,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetCurrentOutfit path: ../TinyLife/Objects/Person.cs - startLine: 2323 + startLine: 2325 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6159,7 +6159,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetNewId path: ../TinyLife/Objects/Person.cs - startLine: 2338 + startLine: 2340 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6200,7 +6200,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsIdMatch path: ../TinyLife/Objects/Person.cs - startLine: 2393 + startLine: 2395 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6235,7 +6235,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsIdMatch path: ../TinyLife/Objects/Person.cs - startLine: 2403 + startLine: 2405 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6270,7 +6270,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPersonalitySkillBoost path: ../TinyLife/Objects/Person.cs - startLine: 2413 + startLine: 2415 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6305,7 +6305,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetCurrentGoals path: ../TinyLife/Objects/Person.cs - startLine: 2433 + startLine: 2435 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6336,7 +6336,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EarnMoney path: ../TinyLife/Objects/Person.cs - startLine: 2459 + startLine: 2461 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6374,7 +6374,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddMemory path: ../TinyLife/Objects/Person.cs - startLine: 2472 + startLine: 2474 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6423,7 +6423,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMemories path: ../TinyLife/Objects/Person.cs - startLine: 2485 + startLine: 2487 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6463,7 +6463,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveMemory path: ../TinyLife/Objects/Person.cs - startLine: 2495 + startLine: 2497 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6506,7 +6506,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTimeSinceMemory path: ../TinyLife/Objects/Person.cs - startLine: 2506 + startLine: 2508 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6549,7 +6549,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTimeSinceMemory path: ../TinyLife/Objects/Person.cs - startLine: 2525 + startLine: 2527 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6589,7 +6589,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GoToExitRoad path: ../TinyLife/Objects/Person.cs - startLine: 2538 + startLine: 2540 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6620,7 +6620,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetAction path: ../TinyLife/Objects/Person.cs - startLine: 2551 + startLine: 2553 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6664,7 +6664,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetPregnancyStatus path: ../TinyLife/Objects/Person.cs - startLine: 2571 + startLine: 2573 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6705,7 +6705,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetAnimationsFromLooks path: ../TinyLife/Objects/Person.cs - startLine: 2591 + startLine: 2593 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6733,7 +6733,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ImportAtExitRoad path: ../TinyLife/Objects/Person.cs - startLine: 2603 + startLine: 2605 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6765,7 +6765,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GoToRandomHomeLocation path: ../TinyLife/Objects/Person.cs - startLine: 2615 + startLine: 2617 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6793,7 +6793,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldDrawHeldItem path: ../TinyLife/Objects/Person.cs - startLine: 2634 + startLine: 2636 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6824,7 +6824,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHeldItemDrawOffset path: ../TinyLife/Objects/Person.cs - startLine: 2645 + startLine: 2647 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6861,7 +6861,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHeldItemDepthOffset path: ../TinyLife/Objects/Person.cs - startLine: 2673 + startLine: 2675 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6892,7 +6892,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPivot path: ../TinyLife/Objects/Person.cs - startLine: 2684 + startLine: 2686 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6923,7 +6923,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanExecuteAction path: ../TinyLife/Objects/Person.cs - startLine: 2696 + startLine: 2698 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6967,7 +6967,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetValidClothes path: ../TinyLife/Objects/Person.cs - startLine: 2748 + startLine: 2750 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7002,7 +7002,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanApplyPersonality path: ../TinyLife/Objects/Person.cs - startLine: 2760 + startLine: 2762 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7036,7 +7036,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasRecentlyFailed path: ../TinyLife/Objects/Person.cs - startLine: 2773 + startLine: 2775 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7077,7 +7077,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MoveToMapExitRoad path: ../TinyLife/Objects/Person.cs - startLine: 2784 + startLine: 2786 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7115,7 +7115,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GenerateAnimationGroup path: ../TinyLife/Objects/Person.cs - startLine: 2801 + startLine: 2803 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7162,7 +7162,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawLooks path: ../TinyLife/Objects/Person.cs - startLine: 2839 + startLine: 2841 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7215,7 +7215,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpdateAnimations path: ../TinyLife/Objects/Person.cs - startLine: 2862 + startLine: 2864 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7253,7 +7253,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnActionCompleted path: ../TinyLife/Objects/Person.cs - startLine: 2881 + startLine: 2883 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7288,7 +7288,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpdateAction path: ../TinyLife/Objects/Person.cs - startLine: 2960 + startLine: 2962 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7335,7 +7335,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InitializeAction path: ../TinyLife/Objects/Person.cs - startLine: 2973 + startLine: 2975 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7367,7 +7367,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnAgeChanged path: ../TinyLife/Objects/Person.cs - startLine: 2983 + startLine: 2985 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7399,7 +7399,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ValidateClothes path: ../TinyLife/Objects/Person.cs - startLine: 3069 + startLine: 3071 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7427,7 +7427,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomSpeakSound path: ../TinyLife/Objects/Person.cs - startLine: 3203 + startLine: 3205 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -7474,7 +7474,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Create path: ../TinyLife/Objects/Person.cs - startLine: 3231 + startLine: 3233 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Pose.yml b/docs/api/TinyLife.Objects.Pose.yml index fb0f48b..f175c71 100644 --- a/docs/api/TinyLife.Objects.Pose.yml +++ b/docs/api/TinyLife.Objects.Pose.yml @@ -30,7 +30,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Pose path: ../TinyLife/Objects/Person.cs - startLine: 3419 + startLine: 3421 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -60,7 +60,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Standing path: ../TinyLife/Objects/Person.cs - startLine: 3424 + startLine: 3426 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -88,7 +88,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Walking path: ../TinyLife/Objects/Person.cs - startLine: 3428 + startLine: 3430 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -116,7 +116,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sitting path: ../TinyLife/Objects/Person.cs - startLine: 3432 + startLine: 3434 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -144,7 +144,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Laying path: ../TinyLife/Objects/Person.cs - startLine: 3437 + startLine: 3439 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -172,7 +172,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SittingGround path: ../TinyLife/Objects/Person.cs - startLine: 3442 + startLine: 3444 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -200,7 +200,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WorkingStanding path: ../TinyLife/Objects/Person.cs - startLine: 3446 + startLine: 3448 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -228,7 +228,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WorkingSitting path: ../TinyLife/Objects/Person.cs - startLine: 3450 + startLine: 3452 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -256,7 +256,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WorkingSittingGround path: ../TinyLife/Objects/Person.cs - startLine: 3454 + startLine: 3456 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -284,7 +284,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Running path: ../TinyLife/Objects/Person.cs - startLine: 3458 + startLine: 3460 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -312,7 +312,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StandingArmsOut path: ../TinyLife/Objects/Person.cs - startLine: 3462 + startLine: 3464 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -340,7 +340,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WalkingArmsOut path: ../TinyLife/Objects/Person.cs - startLine: 3466 + startLine: 3468 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.PregnancyAbility.yml b/docs/api/TinyLife.Objects.PregnancyAbility.yml index 60ccf24..d319088 100644 --- a/docs/api/TinyLife.Objects.PregnancyAbility.yml +++ b/docs/api/TinyLife.Objects.PregnancyAbility.yml @@ -22,7 +22,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PregnancyAbility path: ../TinyLife/Objects/Person.cs - startLine: 3594 + startLine: 3596 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -52,7 +52,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Neither path: ../TinyLife/Objects/Person.cs - startLine: 3599 + startLine: 3601 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -80,7 +80,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetOthersPregnant path: ../TinyLife/Objects/Person.cs - startLine: 3603 + startLine: 3605 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -108,7 +108,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPregnant path: ../TinyLife/Objects/Person.cs - startLine: 3607 + startLine: 3609 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.SpeakStyle.yml b/docs/api/TinyLife.Objects.SpeakStyle.yml index 69c3924..34751e8 100644 --- a/docs/api/TinyLife.Objects.SpeakStyle.yml +++ b/docs/api/TinyLife.Objects.SpeakStyle.yml @@ -35,7 +35,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SpeakStyle path: ../TinyLife/Objects/Person.cs - startLine: 3550 + startLine: 3552 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -74,7 +74,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Affirmative path: ../TinyLife/Objects/Person.cs - startLine: 3554 + startLine: 3556 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -100,7 +100,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Angry path: ../TinyLife/Objects/Person.cs - startLine: 3555 + startLine: 3557 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -126,7 +126,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Annoyed path: ../TinyLife/Objects/Person.cs - startLine: 3556 + startLine: 3558 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -152,7 +152,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Bored path: ../TinyLife/Objects/Person.cs - startLine: 3557 + startLine: 3559 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -178,7 +178,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Childish path: ../TinyLife/Objects/Person.cs - startLine: 3558 + startLine: 3560 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -204,7 +204,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Confident path: ../TinyLife/Objects/Person.cs - startLine: 3559 + startLine: 3561 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -230,7 +230,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Confused path: ../TinyLife/Objects/Person.cs - startLine: 3560 + startLine: 3562 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -256,7 +256,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Disagreeing path: ../TinyLife/Objects/Person.cs - startLine: 3561 + startLine: 3563 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -282,7 +282,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Excited path: ../TinyLife/Objects/Person.cs - startLine: 3562 + startLine: 3564 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -308,7 +308,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Happy path: ../TinyLife/Objects/Person.cs - startLine: 3563 + startLine: 3565 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -334,7 +334,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Neutral path: ../TinyLife/Objects/Person.cs - startLine: 3564 + startLine: 3566 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -360,7 +360,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Questioning path: ../TinyLife/Objects/Person.cs - startLine: 3565 + startLine: 3567 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -386,7 +386,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sad path: ../TinyLife/Objects/Person.cs - startLine: 3566 + startLine: 3568 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -412,7 +412,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Scared path: ../TinyLife/Objects/Person.cs - startLine: 3567 + startLine: 3569 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -438,7 +438,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Shocked path: ../TinyLife/Objects/Person.cs - startLine: 3568 + startLine: 3570 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -464,7 +464,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Thinking path: ../TinyLife/Objects/Person.cs - startLine: 3569 + startLine: 3571 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.VoiceStyle.yml b/docs/api/TinyLife.Objects.VoiceStyle.yml index a6c1736..d40a1df 100644 --- a/docs/api/TinyLife.Objects.VoiceStyle.yml +++ b/docs/api/TinyLife.Objects.VoiceStyle.yml @@ -23,7 +23,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VoiceStyle path: ../TinyLife/Objects/Person.cs - startLine: 3578 + startLine: 3580 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -53,7 +53,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Low path: ../TinyLife/Objects/Person.cs - startLine: 3581 + startLine: 3583 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -79,7 +79,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: High path: ../TinyLife/Objects/Person.cs - startLine: 3582 + startLine: 3584 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -105,7 +105,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Child path: ../TinyLife/Objects/Person.cs - startLine: 3583 + startLine: 3585 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -131,7 +131,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Baby path: ../TinyLife/Objects/Person.cs - startLine: 3585 + startLine: 3587 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.WallLike.yml b/docs/api/TinyLife.Objects.WallLike.yml index 63305ad..d1d1c68 100644 --- a/docs/api/TinyLife.Objects.WallLike.yml +++ b/docs/api/TinyLife.Objects.WallLike.yml @@ -351,7 +351,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPrice path: ../TinyLife/Objects/WallLike.cs - startLine: 83 + startLine: 78 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -382,7 +382,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/Objects/WallLike.cs - startLine: 91 + startLine: 86 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -416,7 +416,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnAdded path: ../TinyLife/Objects/WallLike.cs - startLine: 102 + startLine: 97 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -448,7 +448,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnRemoved path: ../TinyLife/Objects/WallLike.cs - startLine: 113 + startLine: 108 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -480,7 +480,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeActionSpotInfo path: ../TinyLife/Objects/WallLike.cs - startLine: 126 + startLine: 121 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -518,7 +518,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetOpening path: ../TinyLife/Objects/WallLike.cs - startLine: 139 + startLine: 134 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -553,7 +553,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NotifyNeighbors path: ../TinyLife/Objects/WallLike.cs - startLine: 151 + startLine: 146 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -585,7 +585,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnNeighborChanged path: ../TinyLife/Objects/WallLike.cs - startLine: 166 + startLine: 161 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -620,7 +620,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDepth path: ../TinyLife/Objects/WallLike.cs - startLine: 178 + startLine: 173 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -670,7 +670,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetIndexForCamera path: ../TinyLife/Objects/WallLike.cs - startLine: 189 + startLine: 184 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -706,7 +706,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPositionForCamera path: ../TinyLife/Objects/WallLike.cs - startLine: 204 + startLine: 199 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -742,7 +742,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetCenterBottomPos path: ../TinyLife/Objects/WallLike.cs - startLine: 212 + startLine: 207 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -778,7 +778,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsVerticalForCamera path: ../TinyLife/Objects/WallLike.cs - startLine: 229 + startLine: 224 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -815,7 +815,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsVertical path: ../TinyLife/Objects/WallLike.cs - startLine: 242 + startLine: 237 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Tools.FenceTool.yml b/docs/api/TinyLife.Tools.FenceTool.yml index 6c40d3b..5e8d517 100644 --- a/docs/api/TinyLife.Tools.FenceTool.yml +++ b/docs/api/TinyLife.Tools.FenceTool.yml @@ -196,7 +196,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseCursor path: ../TinyLife/Tools/FenceTool.cs - startLine: 71 + startLine: 70 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -228,7 +228,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanUndoRedo path: ../TinyLife/Tools/FenceTool.cs - startLine: 76 + startLine: 75 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -260,7 +260,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldHighlightSelectedObject path: ../TinyLife/Tools/FenceTool.cs - startLine: 81 + startLine: 80 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -299,7 +299,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InitBuildModeUi path: ../TinyLife/Tools/FenceTool.cs - startLine: 86 + startLine: 85 assemblies: - Tiny Life namespace: TinyLife.Tools diff --git a/docs/api/TinyLife.Tools.StairsTool.yml b/docs/api/TinyLife.Tools.StairsTool.yml index 4e6bc34..a88c58c 100644 --- a/docs/api/TinyLife.Tools.StairsTool.yml +++ b/docs/api/TinyLife.Tools.StairsTool.yml @@ -97,7 +97,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Tools/StairsTool.cs - startLine: 26 + startLine: 27 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -127,7 +127,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Update path: ../TinyLife/Tools/StairsTool.cs - startLine: 29 + startLine: 30 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -160,7 +160,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: ../TinyLife/Tools/StairsTool.cs - startLine: 70 + startLine: 74 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -196,7 +196,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InitBuildModeUi path: ../TinyLife/Tools/StairsTool.cs - startLine: 86 + startLine: 91 assemblies: - Tiny Life namespace: TinyLife.Tools diff --git a/docs/api/TinyLife.Tools.TileTool.yml b/docs/api/TinyLife.Tools.TileTool.yml index 83dc355..a082cbb 100644 --- a/docs/api/TinyLife.Tools.TileTool.yml +++ b/docs/api/TinyLife.Tools.TileTool.yml @@ -197,7 +197,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InitBuildModeUi path: ../TinyLife/Tools/TileTool.cs - startLine: 96 + startLine: 95 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -233,7 +233,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseCursor path: ../TinyLife/Tools/TileTool.cs - startLine: 122 + startLine: 121 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -265,7 +265,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanUndoRedo path: ../TinyLife/Tools/TileTool.cs - startLine: 129 + startLine: 128 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -297,7 +297,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldHighlightSelectedObject path: ../TinyLife/Tools/TileTool.cs - startLine: 134 + startLine: 133 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -336,7 +336,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveTileIncompatibleFurniture path: ../TinyLife/Tools/TileTool.cs - startLine: 192 + startLine: 191 assemblies: - Tiny Life namespace: TinyLife.Tools diff --git a/docs/api/TinyLife.Tools.WallpaperTool.yml b/docs/api/TinyLife.Tools.WallpaperTool.yml index 99bab71..38e5964 100644 --- a/docs/api/TinyLife.Tools.WallpaperTool.yml +++ b/docs/api/TinyLife.Tools.WallpaperTool.yml @@ -25,7 +25,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WallpaperTool path: ../TinyLife/Tools/WallpaperTool.cs - startLine: 18 + startLine: 19 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -97,7 +97,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Tools/WallpaperTool.cs - startLine: 25 + startLine: 26 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -127,7 +127,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Update path: ../TinyLife/Tools/WallpaperTool.cs - startLine: 28 + startLine: 29 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -160,7 +160,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: ../TinyLife/Tools/WallpaperTool.cs - startLine: 84 + startLine: 101 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -196,7 +196,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InitBuildModeUi path: ../TinyLife/Tools/WallpaperTool.cs - startLine: 101 + startLine: 124 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -232,7 +232,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseCursor path: ../TinyLife/Tools/WallpaperTool.cs - startLine: 125 + startLine: 148 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -264,7 +264,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldHighlightSelectedObject path: ../TinyLife/Tools/WallpaperTool.cs - startLine: 132 + startLine: 155 assemblies: - Tiny Life namespace: TinyLife.Tools diff --git a/docs/api/TinyLife.Uis.InGameHint.yml b/docs/api/TinyLife.Uis.InGameHint.yml index 4560534..eb6c1dc 100644 --- a/docs/api/TinyLife.Uis.InGameHint.yml +++ b/docs/api/TinyLife.Uis.InGameHint.yml @@ -348,7 +348,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: ../TinyLife/Uis/InGameHint.cs - startLine: 72 + startLine: 73 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -377,7 +377,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Icon path: ../TinyLife/Uis/InGameHint.cs - startLine: 76 + startLine: 77 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -406,7 +406,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Condition path: ../TinyLife/Uis/InGameHint.cs - startLine: 80 + startLine: 81 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -435,7 +435,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AdditionalContent path: ../TinyLife/Uis/InGameHint.cs - startLine: 84 + startLine: 85 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -464,7 +464,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasBeenDisplayed path: ../TinyLife/Uis/InGameHint.cs - startLine: 89 + startLine: 90 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -495,7 +495,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Uis/InGameHint.cs - startLine: 98 + startLine: 99 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -539,7 +539,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Display path: ../TinyLife/Uis/InGameHint.cs - startLine: 108 + startLine: 109 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -567,7 +567,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/Uis/InGameHint.cs - startLine: 135 + startLine: 136 assemblies: - Tiny Life namespace: TinyLife.Uis diff --git a/docs/api/TinyLife.World.AutoTile.yml b/docs/api/TinyLife.World.AutoTile.yml index 31a65b4..01f0d97 100644 --- a/docs/api/TinyLife.World.AutoTile.yml +++ b/docs/api/TinyLife.World.AutoTile.yml @@ -60,10 +60,11 @@ items: - TinyLife.World.Tile.GetPrice - TinyLife.World.Tile.GetAutoTileBorder(TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Point,TinyLife.World.Tile) - TinyLife.World.Tile.GetVariationTexture(MLEM.Misc.Direction2,Microsoft.Xna.Framework.Point) - - TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme,System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Nullable{System.Int32},System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) - TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme[],System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Int32[],System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) - TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point[],TinyLife.Utilities.ColorScheme[],System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,Microsoft.Xna.Framework.Point[]},System.Int32[],System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) + - TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + - TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -156,7 +157,7 @@ items: summary: "\nDraws this tile at the given position in the world using a or \n" example: [] syntax: - content: public override bool Draw(GameTime time, object batch, Map map, Point pos, int floor, Vector2 drawPos, float depth, float scale, ICollection items, bool hasStaticContext) + content: public override bool Draw(GameTime time, object batch, Map map, Point pos, int floor, Vector2 drawPos, float scale, float depthOffset, ICollection items, bool hasStaticContext) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -176,12 +177,11 @@ items: - id: drawPos type: Microsoft.Xna.Framework.Vector2 description: The position, in screen space, to draw at. - - id: depth - type: System.Single - description: The depth to use for drawing. - id: scale type: System.Single description: The scale to draw the tile with. + - id: depthOffset + type: System.Single - id: items type: System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item} description: The collection that added items can optionally be added to. @@ -191,7 +191,7 @@ items: return: type: System.Boolean description: Whether this tile was fully drawn. If the batch is a and false is returned, this tile will be marked as an animated tile, causing it to draw every frame. - content.vb: Public Overrides Function Draw(time As GameTime, batch As Object, map As Map, pos As Point, floor As Integer, drawPos As Vector2, depth As Single, scale As Single, items As ICollection(Of StaticSpriteBatch.Item), hasStaticContext As Boolean) As Boolean + content.vb: Public Overrides Function Draw(time As GameTime, batch As Object, map As Map, pos As Point, floor As Integer, drawPos As Vector2, scale As Single, depthOffset As Single, items As ICollection(Of StaticSpriteBatch.Item), hasStaticContext As Boolean) As Boolean overridden: TinyLife.World.Tile.Draw(Microsoft.Xna.Framework.GameTime,System.Object,TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item},System.Boolean) overload: TinyLife.World.AutoTile.Draw* nameWithType.vb: AutoTile.Draw(GameTime, Object, Map, Point, Integer, Vector2, Single, Single, ICollection(Of StaticSpriteBatch.Item), Boolean) @@ -317,7 +317,7 @@ items: summary: "\nDraws the auto-tile border.\n" example: [] syntax: - content: protected void DrawBorder(object batch, Map map, Point pos, int floor, Vector2 drawPos, float depth, float scale, ICollection items, (Func Texture, Color Color)? bestBorderTile = null) + content: protected void DrawBorder(object batch, Map map, Point pos, int floor, Vector2 drawPos, float scale, float depthOffset, ICollection items, (Func Texture, Color Color)? bestBorderTile = null) parameters: - id: batch type: System.Object @@ -334,19 +334,18 @@ items: - id: drawPos type: Microsoft.Xna.Framework.Vector2 description: The position, in screen space, to draw at. - - id: depth - type: System.Single - description: The depth to use for drawing. - id: scale type: System.Single description: The scale to draw the tile with. + - id: depthOffset + type: System.Single - id: items type: System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item} description: The collection that added items can optionally be added to. - id: bestBorderTile type: System.Nullable{System.ValueTuple{System.Func{System.Int32,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Color}} description: A function to return the best tile to use as this tile's border tile when rendering. - content.vb: Protected Sub DrawBorder(batch As Object, map As Map, pos As Point, floor As Integer, drawPos As Vector2, depth As Single, scale As Single, items As ICollection(Of StaticSpriteBatch.Item), bestBorderTile As (Texture As Func(Of Integer, TextureRegion), Color As Color)? = Nothing) + content.vb: Protected Sub DrawBorder(batch As Object, map As Map, pos As Point, floor As Integer, drawPos As Vector2, scale As Single, depthOffset As Single, items As ICollection(Of StaticSpriteBatch.Item), bestBorderTile As (Texture As Func(Of Integer, TextureRegion), Color As Color)? = Nothing) overload: TinyLife.World.AutoTile.DrawBorder* nameWithType.vb: AutoTile.DrawBorder(Object, Map, Point, Integer, Vector2, Single, Single, ICollection(Of StaticSpriteBatch.Item), (Texture As Func(Of Integer, TextureRegion), Color As Color)?) fullName.vb: TinyLife.World.AutoTile.DrawBorder(Object, TinyLife.World.Map, Microsoft.Xna.Framework.Point, Integer, Microsoft.Xna.Framework.Vector2, Single, Single, System.Collections.Generic.ICollection(Of MLEM.Graphics.StaticSpriteBatch.Item), (Texture As System.Func(Of Integer, MLEM.Textures.TextureRegion), Color As Microsoft.Xna.Framework.Color)?) @@ -732,57 +731,6 @@ references: name: Point isExternal: true - name: ) -- uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - commentId: M:TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - parent: TinyLife.World.Tile - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - name: GetVisualOffset(Direction2, int, int) - nameWithType: Tile.GetVisualOffset(Direction2, int, int) - fullName: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, int, int) - nameWithType.vb: Tile.GetVisualOffset(Direction2, Integer, Integer) - fullName.vb: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, Integer, Integer) - name.vb: GetVisualOffset(Direction2, Integer, Integer) - spec.csharp: - - uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - name: GetVisualOffset - - name: ( - - uid: MLEM.Misc.Direction2 - name: Direction2 - isExternal: true - - name: ',' - - name: " " - - uid: System.Int32 - name: int - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - - name: ',' - - name: " " - - uid: System.Int32 - name: int - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - - name: ) - spec.vb: - - uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - name: GetVisualOffset - - name: ( - - uid: MLEM.Misc.Direction2 - name: Direction2 - isExternal: true - - name: ',' - - name: " " - - uid: System.Int32 - name: Integer - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - - name: ',' - - name: " " - - uid: System.Int32 - name: Integer - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - - name: ) - uid: TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme,System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Nullable{System.Int32},System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) commentId: M:TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme,System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Nullable{System.Int32},System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) parent: TinyLife.World.Tile @@ -1500,6 +1448,128 @@ references: isExternal: true href: https://learn.microsoft.com/dotnet/api/system.type - name: ) +- uid: TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + commentId: M:TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + parent: TinyLife.World.Tile + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + name: GetDepth(Map, Vector2, float, float, bool) + nameWithType: Tile.GetDepth(Map, Vector2, float, float, bool) + fullName: TinyLife.World.Tile.GetDepth(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2, float, float, bool) + nameWithType.vb: Tile.GetDepth(Map, Vector2, Single, Single, Boolean) + fullName.vb: TinyLife.World.Tile.GetDepth(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2, Single, Single, Boolean) + name.vb: GetDepth(Map, Vector2, Single, Single, Boolean) + spec.csharp: + - uid: TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + name: GetDepth + - name: ( + - uid: TinyLife.World.Map + name: Map + - name: ',' + - name: " " + - uid: Microsoft.Xna.Framework.Vector2 + name: Vector2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Single + name: float + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + - name: ',' + - name: " " + - uid: System.Single + name: float + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + - name: ',' + - name: " " + - uid: System.Boolean + name: bool + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.boolean + - name: ) + spec.vb: + - uid: TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + name: GetDepth + - name: ( + - uid: TinyLife.World.Map + name: Map + - name: ',' + - name: " " + - uid: Microsoft.Xna.Framework.Vector2 + name: Vector2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Single + name: Single + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + - name: ',' + - name: " " + - uid: System.Single + name: Single + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + - name: ',' + - name: " " + - uid: System.Boolean + name: Boolean + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.boolean + - name: ) +- uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + commentId: M:TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + parent: TinyLife.World.Tile + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + name: GetVisualOffset(Direction2, int, int) + nameWithType: Tile.GetVisualOffset(Direction2, int, int) + fullName: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, int, int) + nameWithType.vb: Tile.GetVisualOffset(Direction2, Integer, Integer) + fullName.vb: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, Integer, Integer) + name.vb: GetVisualOffset(Direction2, Integer, Integer) + spec.csharp: + - uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + name: GetVisualOffset + - name: ( + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Int32 + name: int + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ',' + - name: " " + - uid: System.Int32 + name: int + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ) + spec.vb: + - uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + name: GetVisualOffset + - name: ( + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Int32 + name: Integer + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ',' + - name: " " + - uid: System.Int32 + name: Integer + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ) - uid: System.Object.Equals(System.Object) commentId: M:System.Object.Equals(System.Object) parent: System.Object diff --git a/docs/api/TinyLife.World.Door.yml b/docs/api/TinyLife.World.Door.yml index a5ab1dd..4690632 100644 --- a/docs/api/TinyLife.World.Door.yml +++ b/docs/api/TinyLife.World.Door.yml @@ -40,7 +40,7 @@ items: - TinyLife.World.Opening.Type - TinyLife.World.Opening.Color - TinyLife.World.Opening.Colors - - TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + - TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - TinyLife.World.Opening.Validate(TinyLife.Objects.WallLike,TinyLife.World.Map) - TinyLife.World.Opening.GetDescription - TinyLife.World.Opening.GetPrice @@ -218,19 +218,19 @@ references: name: Colors nameWithType: Opening.Colors fullName: TinyLife.World.Opening.Colors -- uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - commentId: M:TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) +- uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + commentId: M:TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) parent: TinyLife.World.Opening isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, float, Color?) - nameWithType: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, float, Color?) - fullName: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, bool, float, float, Microsoft.Xna.Framework.Color?) - nameWithType.vb: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Single, Color?) - fullName.vb: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, Boolean, Single, Single, Microsoft.Xna.Framework.Color?) - name.vb: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Single, Color?) + name: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, Color?) + nameWithType: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, Color?) + fullName: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, bool, float, Microsoft.Xna.Framework.Color?) + nameWithType.vb: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Color?) + fullName.vb: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, Boolean, Single, Microsoft.Xna.Framework.Color?) + name.vb: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Color?) spec.csharp: - - uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + - uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) name: Draw - name: ( - uid: Microsoft.Xna.Framework.GameTime @@ -268,19 +268,13 @@ references: href: https://learn.microsoft.com/dotnet/api/system.single - name: ',' - name: " " - - uid: System.Single - name: float - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.single - - name: ',' - - name: " " - uid: Microsoft.Xna.Framework.Color name: Color isExternal: true - name: '?' - name: ) spec.vb: - - uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + - uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) name: Draw - name: ( - uid: Microsoft.Xna.Framework.GameTime @@ -318,12 +312,6 @@ references: href: https://learn.microsoft.com/dotnet/api/system.single - name: ',' - name: " " - - uid: System.Single - name: Single - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.single - - name: ',' - - name: " " - uid: Microsoft.Xna.Framework.Color name: Color isExternal: true diff --git a/docs/api/TinyLife.World.DrawDelegate.yml b/docs/api/TinyLife.World.DrawDelegate.yml index 6ebc8ce..668748f 100644 --- a/docs/api/TinyLife.World.DrawDelegate.yml +++ b/docs/api/TinyLife.World.DrawDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawDelegate path: ../TinyLife/World/Map.cs - startLine: 2964 + startLine: 2949 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.LotEmployment.Instance.yml b/docs/api/TinyLife.World.LotEmployment.Instance.yml index b209fd6..17656a7 100644 --- a/docs/api/TinyLife.World.LotEmployment.Instance.yml +++ b/docs/api/TinyLife.World.LotEmployment.Instance.yml @@ -26,7 +26,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Instance path: ../TinyLife/World/LotEmployment.cs - startLine: 208 + startLine: 207 assemblies: - Tiny Life namespace: TinyLife.World @@ -75,7 +75,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Map path: ../TinyLife/World/LotEmployment.cs - startLine: 214 + startLine: 213 assemblies: - Tiny Life namespace: TinyLife.World @@ -106,7 +106,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Lot path: ../TinyLife/World/LotEmployment.cs - startLine: 218 + startLine: 217 assemblies: - Tiny Life namespace: TinyLife.World @@ -137,7 +137,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Type path: ../TinyLife/World/LotEmployment.cs - startLine: 222 + startLine: 221 assemblies: - Tiny Life namespace: TinyLife.World @@ -168,7 +168,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetManually path: ../TinyLife/World/LotEmployment.cs - startLine: 235 + startLine: 234 assemblies: - Tiny Life namespace: TinyLife.World @@ -209,7 +209,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/World/LotEmployment.cs - startLine: 259 + startLine: 258 assemblies: - Tiny Life namespace: TinyLife.World @@ -256,7 +256,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/World/LotEmployment.cs - startLine: 273 + startLine: 272 assemblies: - Tiny Life namespace: TinyLife.World @@ -291,7 +291,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldWorkRightNow path: ../TinyLife/World/LotEmployment.cs - startLine: 285 + startLine: 284 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.LotEmployment.yml b/docs/api/TinyLife.World.LotEmployment.yml index cefcfcc..beae42d 100644 --- a/docs/api/TinyLife.World.LotEmployment.yml +++ b/docs/api/TinyLife.World.LotEmployment.yml @@ -329,7 +329,7 @@ items: parameters: - id: map type: TinyLife.World.Map - description: The map + description: The map that the employment is on. - id: lot type: TinyLife.World.Lot description: The lot, or null for a entry @@ -356,7 +356,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetCurrentPerson path: ../TinyLife/World/LotEmployment.cs - startLine: 101 + startLine: 100 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.Map.yml b/docs/api/TinyLife.World.Map.yml index 70dae97..fafecf0 100644 --- a/docs/api/TinyLife.World.Map.yml +++ b/docs/api/TinyLife.World.Map.yml @@ -52,7 +52,6 @@ items: - TinyLife.World.Map.GetStairs(MLEM.Misc.RectangleF) - TinyLife.World.Map.GetStoredDeadPeople - TinyLife.World.Map.GetTile(Microsoft.Xna.Framework.Point,System.Int32) - - TinyLife.World.Map.GetTileDepth(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean) - TinyLife.World.Map.GetTilesAround(Microsoft.Xna.Framework.Vector2,System.Single,System.Int32,System.Boolean,System.Boolean,System.Predicate{Microsoft.Xna.Framework.Point}) - TinyLife.World.Map.GetVisibleWorldArea(MLEM.Misc.RectangleF) - TinyLife.World.Map.GetWallBetween``1(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32) @@ -936,50 +935,6 @@ items: nameWithType.vb: Map.GetDepth(Vector2, Single, Single, Boolean, Boolean, Boolean) fullName.vb: TinyLife.World.Map.GetDepth(Microsoft.Xna.Framework.Vector2, Single, Single, Boolean, Boolean, Boolean) name.vb: GetDepth(Vector2, Single, Single, Boolean, Boolean, Boolean) -- uid: TinyLife.World.Map.GetTileDepth(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean) - commentId: M:TinyLife.World.Map.GetTileDepth(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean) - id: GetTileDepth(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean) - parent: TinyLife.World.Map - langs: - - csharp - - vb - name: GetTileDepth(Vector2, float, bool) - nameWithType: Map.GetTileDepth(Vector2, float, bool) - fullName: TinyLife.World.Map.GetTileDepth(Microsoft.Xna.Framework.Vector2, float, bool) - type: Method - source: - remote: - path: TinyLife/World/Map.cs - branch: main - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: GetTileDepth - path: ../TinyLife/World/Map.cs - startLine: 769 - assemblies: - - Tiny Life - namespace: TinyLife.World - summary: "\nGets the depth that should be used for drawing a at the given position\n" - example: [] - syntax: - content: public float GetTileDepth(Vector2 worldPos, float floor, bool borderOffset = false) - parameters: - - id: worldPos - type: Microsoft.Xna.Framework.Vector2 - description: The position to get depth for, in tile coordinates - - id: floor - type: System.Single - description: The floor to get depth for. - - id: borderOffset - type: System.Boolean - description: Whether the map border offset should be applied to the camera rotation using . - return: - type: System.Single - description: The depth to pass to the draw call - content.vb: Public Function GetTileDepth(worldPos As Vector2, floor As Single, borderOffset As Boolean = False) As Single - overload: TinyLife.World.Map.GetTileDepth* - nameWithType.vb: Map.GetTileDepth(Vector2, Single, Boolean) - fullName.vb: TinyLife.World.Map.GetTileDepth(Microsoft.Xna.Framework.Vector2, Single, Boolean) - name.vb: GetTileDepth(Vector2, Single, Boolean) - uid: TinyLife.World.Map.IsInBounds(Microsoft.Xna.Framework.Point) commentId: M:TinyLife.World.Map.IsInBounds(Microsoft.Xna.Framework.Point) id: IsInBounds(Microsoft.Xna.Framework.Point) @@ -998,7 +953,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsInBounds path: ../TinyLife/World/Map.cs - startLine: 779 + startLine: 764 assemblies: - Tiny Life namespace: TinyLife.World @@ -1033,7 +988,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddRoad path: ../TinyLife/World/Map.cs - startLine: 788 + startLine: 773 assemblies: - Tiny Life namespace: TinyLife.World @@ -1065,7 +1020,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsRoad path: ../TinyLife/World/Map.cs - startLine: 798 + startLine: 783 assemblies: - Tiny Life namespace: TinyLife.World @@ -1100,7 +1055,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestRoads path: ../TinyLife/World/Map.cs - startLine: 808 + startLine: 793 assemblies: - Tiny Life namespace: TinyLife.World @@ -1141,7 +1096,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoads path: ../TinyLife/World/Map.cs - startLine: 818 + startLine: 803 assemblies: - Tiny Life namespace: TinyLife.World @@ -1172,7 +1127,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestRoadsidePosition path: ../TinyLife/World/Map.cs - startLine: 829 + startLine: 814 assemblies: - Tiny Life namespace: TinyLife.World @@ -1210,7 +1165,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTilesAround path: ../TinyLife/World/Map.cs - startLine: 847 + startLine: 832 assemblies: - Tiny Life namespace: TinyLife.World @@ -1263,7 +1218,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestEmptyTile path: ../TinyLife/World/Map.cs - startLine: 875 + startLine: 860 assemblies: - Tiny Life namespace: TinyLife.World @@ -1316,7 +1271,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomTile path: ../TinyLife/World/Map.cs - startLine: 894 + startLine: 879 assemblies: - Tiny Life namespace: TinyLife.World @@ -1372,7 +1327,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ValidateEarly path: ../TinyLife/World/Map.cs - startLine: 922 + startLine: 907 assemblies: - Tiny Life namespace: TinyLife.World @@ -1416,7 +1371,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/World/Map.cs - startLine: 946 + startLine: 931 assemblies: - Tiny Life namespace: TinyLife.World @@ -1457,7 +1412,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PostValidate path: ../TinyLife/World/Map.cs - startLine: 1004 + startLine: 989 assemblies: - Tiny Life namespace: TinyLife.World @@ -1495,7 +1450,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoom path: ../TinyLife/World/Map.cs - startLine: 1021 + startLine: 1006 assemblies: - Tiny Life namespace: TinyLife.World @@ -1536,7 +1491,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLot path: ../TinyLife/World/Map.cs - startLine: 1035 + startLine: 1020 assemblies: - Tiny Life namespace: TinyLife.World @@ -1571,7 +1526,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLot path: ../TinyLife/World/Map.cs - startLine: 1046 + startLine: 1031 assemblies: - Tiny Life namespace: TinyLife.World @@ -1606,7 +1561,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddLot path: ../TinyLife/World/Map.cs - startLine: 1059 + startLine: 1044 assemblies: - Tiny Life namespace: TinyLife.World @@ -1641,7 +1596,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddLot path: ../TinyLife/World/Map.cs - startLine: 1069 + startLine: 1054 assemblies: - Tiny Life namespace: TinyLife.World @@ -1673,7 +1628,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveLot path: ../TinyLife/World/Map.cs - startLine: 1077 + startLine: 1062 assemblies: - Tiny Life namespace: TinyLife.World @@ -1705,7 +1660,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLots path: ../TinyLife/World/Map.cs - startLine: 1096 + startLine: 1081 assemblies: - Tiny Life namespace: TinyLife.World @@ -1736,7 +1691,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddWall path: ../TinyLife/World/Map.cs - startLine: 1107 + startLine: 1092 assemblies: - Tiny Life namespace: TinyLife.World @@ -1771,7 +1726,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveWall path: ../TinyLife/World/Map.cs - startLine: 1117 + startLine: 1102 assemblies: - Tiny Life namespace: TinyLife.World @@ -1806,7 +1761,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWallBetween path: ../TinyLife/World/Map.cs - startLine: 1134 + startLine: 1119 assemblies: - Tiny Life namespace: TinyLife.World @@ -1852,7 +1807,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTile path: ../TinyLife/World/Map.cs - startLine: 1150 + startLine: 1135 assemblies: - Tiny Life namespace: TinyLife.World @@ -1893,7 +1848,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetTile path: ../TinyLife/World/Map.cs - startLine: 1161 + startLine: 1146 assemblies: - Tiny Life namespace: TinyLife.World @@ -1934,7 +1889,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddRoof path: ../TinyLife/World/Map.cs - startLine: 1179 + startLine: 1164 assemblies: - Tiny Life namespace: TinyLife.World @@ -1966,7 +1921,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoof path: ../TinyLife/World/Map.cs - startLine: 1193 + startLine: 1178 assemblies: - Tiny Life namespace: TinyLife.World @@ -2007,7 +1962,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoofs path: ../TinyLife/World/Map.cs - startLine: 1208 + startLine: 1193 assemblies: - Tiny Life namespace: TinyLife.World @@ -2042,7 +1997,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveRoof path: ../TinyLife/World/Map.cs - startLine: 1221 + startLine: 1206 assemblies: - Tiny Life namespace: TinyLife.World @@ -2074,7 +2029,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetObjects path: ../TinyLife/World/Map.cs - startLine: 1235 + startLine: 1220 assemblies: - Tiny Life namespace: TinyLife.World @@ -2115,7 +2070,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetObject path: ../TinyLife/World/Map.cs - startLine: 1251 + startLine: 1236 assemblies: - Tiny Life namespace: TinyLife.World @@ -2156,7 +2111,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddObject path: ../TinyLife/World/Map.cs - startLine: 1263 + startLine: 1248 assemblies: - Tiny Life namespace: TinyLife.World @@ -2188,7 +2143,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveObject path: ../TinyLife/World/Map.cs - startLine: 1290 + startLine: 1275 assemblies: - Tiny Life namespace: TinyLife.World @@ -2221,7 +2176,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPeople path: ../TinyLife/World/Map.cs - startLine: 1318 + startLine: 1303 assemblies: - Tiny Life namespace: TinyLife.World @@ -2252,7 +2207,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHousehold path: ../TinyLife/World/Map.cs - startLine: 1330 + startLine: 1315 assemblies: - Tiny Life namespace: TinyLife.World @@ -2287,7 +2242,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHousehold path: ../TinyLife/World/Map.cs - startLine: 1343 + startLine: 1328 assemblies: - Tiny Life namespace: TinyLife.World @@ -2322,7 +2277,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddHousehold path: ../TinyLife/World/Map.cs - startLine: 1356 + startLine: 1341 assemblies: - Tiny Life namespace: TinyLife.World @@ -2357,7 +2312,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveHousehold path: ../TinyLife/World/Map.cs - startLine: 1366 + startLine: 1351 assemblies: - Tiny Life namespace: TinyLife.World @@ -2389,7 +2344,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHouseholds path: ../TinyLife/World/Map.cs - startLine: 1374 + startLine: 1359 assemblies: - Tiny Life namespace: TinyLife.World @@ -2420,7 +2375,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSection path: ../TinyLife/World/Map.cs - startLine: 1384 + startLine: 1369 assemblies: - Tiny Life namespace: TinyLife.World @@ -2455,7 +2410,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSections path: ../TinyLife/World/Map.cs - startLine: 1399 + startLine: 1384 assemblies: - Tiny Life namespace: TinyLife.World @@ -2496,7 +2451,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSections path: ../TinyLife/World/Map.cs - startLine: 1409 + startLine: 1394 assemblies: - Tiny Life namespace: TinyLife.World @@ -2537,7 +2492,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkDirtyForPathfinding path: ../TinyLife/World/Map.cs - startLine: 1431 + startLine: 1416 assemblies: - Tiny Life namespace: TinyLife.World @@ -2575,7 +2530,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPathCost path: ../TinyLife/World/Map.cs - startLine: 1454 + startLine: 1439 assemblies: - Tiny Life namespace: TinyLife.World @@ -2625,7 +2580,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanWalkBetween path: ../TinyLife/World/Map.cs - startLine: 1478 + startLine: 1463 assemblies: - Tiny Life namespace: TinyLife.World @@ -2675,7 +2630,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsFreeSpot path: ../TinyLife/World/Map.cs - startLine: 1488 + startLine: 1473 assemblies: - Tiny Life namespace: TinyLife.World @@ -2716,7 +2671,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetStoredDeadPeople path: ../TinyLife/World/Map.cs - startLine: 1497 + startLine: 1482 assemblies: - Tiny Life namespace: TinyLife.World @@ -2747,7 +2702,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlaySound path: ../TinyLife/World/Map.cs - startLine: 1519 + startLine: 1504 assemblies: - Tiny Life namespace: TinyLife.World @@ -2803,7 +2758,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlaySound path: ../TinyLife/World/Map.cs - startLine: 1535 + startLine: 1520 assemblies: - Tiny Life namespace: TinyLife.World @@ -2856,7 +2811,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestFreeExitPoint path: ../TinyLife/World/Map.cs - startLine: 1555 + startLine: 1540 assemblies: - Tiny Life namespace: TinyLife.World @@ -2891,7 +2846,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetExitPoints path: ../TinyLife/World/Map.cs - startLine: 1565 + startLine: 1550 assemblies: - Tiny Life namespace: TinyLife.World @@ -2922,7 +2877,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWalls path: ../TinyLife/World/Map.cs - startLine: 1594 + startLine: 1579 assemblies: - Tiny Life namespace: TinyLife.World @@ -2962,7 +2917,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetStairs path: ../TinyLife/World/Map.cs - startLine: 1614 + startLine: 1599 assemblies: - Tiny Life namespace: TinyLife.World @@ -2997,7 +2952,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetStairs path: ../TinyLife/World/Map.cs - startLine: 1629 + startLine: 1614 assemblies: - Tiny Life namespace: TinyLife.World @@ -3038,7 +2993,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddStairs path: ../TinyLife/World/Map.cs - startLine: 1642 + startLine: 1627 assemblies: - Tiny Life namespace: TinyLife.World @@ -3070,7 +3025,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveStairs path: ../TinyLife/World/Map.cs - startLine: 1654 + startLine: 1639 assemblies: - Tiny Life namespace: TinyLife.World @@ -3105,7 +3060,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ApplyCameraRotation path: ../TinyLife/World/Map.cs - startLine: 1671 + startLine: 1656 assemblies: - Tiny Life namespace: TinyLife.World @@ -3149,7 +3104,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ApplyInverseCameraRotation path: ../TinyLife/World/Map.cs - startLine: 1687 + startLine: 1672 assemblies: - Tiny Life namespace: TinyLife.World @@ -3187,7 +3142,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnCameraRotationChanged path: ../TinyLife/World/Map.cs - startLine: 1702 + startLine: 1687 assemblies: - Tiny Life namespace: TinyLife.World @@ -3222,7 +3177,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnCurrentGameMapChanged path: ../TinyLife/World/Map.cs - startLine: 1726 + startLine: 1711 assemblies: - Tiny Life namespace: TinyLife.World @@ -3257,7 +3212,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddLight path: ../TinyLife/World/Map.cs - startLine: 1744 + startLine: 1729 assemblies: - Tiny Life namespace: TinyLife.World @@ -3289,7 +3244,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveLight path: ../TinyLife/World/Map.cs - startLine: 1755 + startLine: 1740 assemblies: - Tiny Life namespace: TinyLife.World @@ -3323,7 +3278,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MoveEverything path: ../TinyLife/World/Map.cs - startLine: 1767 + startLine: 1752 assemblies: - Tiny Life namespace: TinyLife.World @@ -3367,7 +3322,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ValidateRooms path: ../TinyLife/World/Map.cs - startLine: 1863 + startLine: 1848 assemblies: - Tiny Life namespace: TinyLife.World @@ -3408,7 +3363,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRegularVisitors path: ../TinyLife/World/Map.cs - startLine: 1912 + startLine: 1897 assemblies: - Tiny Life namespace: TinyLife.World @@ -3439,7 +3394,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetAllLotEmployments path: ../TinyLife/World/Map.cs - startLine: 1922 + startLine: 1907 assemblies: - Tiny Life namespace: TinyLife.World @@ -3470,7 +3425,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkGroundTileDirtyForDrawing path: ../TinyLife/World/Map.cs - startLine: 1935 + startLine: 1920 assemblies: - Tiny Life namespace: TinyLife.World @@ -3502,7 +3457,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkObjectDirtyForDrawing path: ../TinyLife/World/Map.cs - startLine: 1951 + startLine: 1936 assemblies: - Tiny Life namespace: TinyLife.World @@ -3543,7 +3498,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PrepareForPermanentRemoval path: ../TinyLife/World/Map.cs - startLine: 1982 + startLine: 1967 assemblies: - Tiny Life namespace: TinyLife.World @@ -3571,7 +3526,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LoadStaticMap path: ../TinyLife/World/Map.cs - startLine: 2569 + startLine: 2554 assemblies: - Tiny Life namespace: TinyLife.World @@ -3606,7 +3561,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsLotHidden path: ../TinyLife/World/Map.cs - startLine: 2613 + startLine: 2598 assemblies: - Tiny Life namespace: TinyLife.World @@ -3641,7 +3596,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMapSampler path: ../TinyLife/World/Map.cs - startLine: 2631 + startLine: 2616 assemblies: - Tiny Life namespace: TinyLife.World @@ -3672,7 +3627,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpdateExternalPeople path: ../TinyLife/World/Map.cs - startLine: 2642 + startLine: 2627 assemblies: - Tiny Life namespace: TinyLife.World @@ -3710,7 +3665,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetVisibleWorldArea path: ../TinyLife/World/Map.cs - startLine: 2736 + startLine: 2721 assemblies: - Tiny Life namespace: TinyLife.World @@ -5277,17 +5232,6 @@ references: name: Vector2 nameWithType: Vector2 fullName: Microsoft.Xna.Framework.Vector2 -- uid: TinyLife.World.Tile - commentId: T:TinyLife.World.Tile - parent: TinyLife.World - name: Tile - nameWithType: Tile - fullName: TinyLife.World.Tile -- uid: TinyLife.World.Map.GetTileDepth* - commentId: Overload:TinyLife.World.Map.GetTileDepth - name: GetTileDepth - nameWithType: Map.GetTileDepth - fullName: TinyLife.World.Map.GetTileDepth - uid: TinyLife.World.Map.Size commentId: P:TinyLife.World.Map.Size name: Size @@ -5928,6 +5872,12 @@ references: name: GetTile nameWithType: Map.GetTile fullName: TinyLife.World.Map.GetTile +- uid: TinyLife.World.Tile + commentId: T:TinyLife.World.Tile + parent: TinyLife.World + name: Tile + nameWithType: Tile + fullName: TinyLife.World.Tile - uid: TinyLife.World.Map.SetTile* commentId: Overload:TinyLife.World.Map.SetTile name: SetTile diff --git a/docs/api/TinyLife.World.ObjectUpdateDelegate-1.yml b/docs/api/TinyLife.World.ObjectUpdateDelegate-1.yml index 7df2f9b..88ab824 100644 --- a/docs/api/TinyLife.World.ObjectUpdateDelegate-1.yml +++ b/docs/api/TinyLife.World.ObjectUpdateDelegate-1.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ObjectUpdateDelegate path: ../TinyLife/World/Map.cs - startLine: 2949 + startLine: 2934 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.ObjectUpdateDelegateNoPhase-1.yml b/docs/api/TinyLife.World.ObjectUpdateDelegateNoPhase-1.yml index 9c8f623..295b766 100644 --- a/docs/api/TinyLife.World.ObjectUpdateDelegateNoPhase-1.yml +++ b/docs/api/TinyLife.World.ObjectUpdateDelegateNoPhase-1.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ObjectUpdateDelegateNoPhase path: ../TinyLife/World/Map.cs - startLine: 2954 + startLine: 2939 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.Opening.yml b/docs/api/TinyLife.World.Opening.yml index 4c995d2..8b2075f 100644 --- a/docs/api/TinyLife.World.Opening.yml +++ b/docs/api/TinyLife.World.Opening.yml @@ -10,7 +10,7 @@ items: - TinyLife.World.Opening.CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person) - TinyLife.World.Opening.Color - TinyLife.World.Opening.Colors - - TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + - TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - TinyLife.World.Opening.GetDescription - TinyLife.World.Opening.GetPrice - TinyLife.World.Opening.Type @@ -226,16 +226,16 @@ items: nameWithType.vb: Opening.New(OpeningType, Integer()) fullName.vb: TinyLife.World.Opening.New(TinyLife.World.OpeningType, Integer()) name.vb: New(OpeningType, Integer()) -- uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - commentId: M:TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) +- uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + commentId: M:TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) parent: TinyLife.World.Opening langs: - csharp - vb - name: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, float, Color?) - nameWithType: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, float, Color?) - fullName: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, bool, float, float, Microsoft.Xna.Framework.Color?) + name: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, Color?) + nameWithType: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, Color?) + fullName: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, bool, float, Microsoft.Xna.Framework.Color?) type: Method source: remote: @@ -251,7 +251,7 @@ items: summary: "\nDraws this opening in the world with the given settings\n" example: [] syntax: - content: public virtual void Draw(GameTime time, SpriteBatch batch, Map map, WallLike wall, Vector2 drawPos, bool vertical, float scale, float depth, Color? overrideColor) + content: public virtual void Draw(GameTime time, SpriteBatch batch, Map map, WallLike wall, Vector2 drawPos, bool vertical, float scale, Color? overrideColor) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -274,17 +274,14 @@ items: - id: scale type: System.Single description: The scale to draw the opening with - - id: depth - type: System.Single - description: The depth to use for drawing the opening - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} description: A color that should be used instead of this opening's default color, or null to use the opening's default color - content.vb: Public Overridable Sub Draw(time As GameTime, batch As SpriteBatch, map As Map, wall As WallLike, drawPos As Vector2, vertical As Boolean, scale As Single, depth As Single, overrideColor As Color?) + content.vb: Public Overridable Sub Draw(time As GameTime, batch As SpriteBatch, map As Map, wall As WallLike, drawPos As Vector2, vertical As Boolean, scale As Single, overrideColor As Color?) overload: TinyLife.World.Opening.Draw* - nameWithType.vb: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Single, Color?) - fullName.vb: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, Boolean, Single, Single, Microsoft.Xna.Framework.Color?) - name.vb: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Single, Color?) + nameWithType.vb: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Color?) + fullName.vb: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, Boolean, Single, Microsoft.Xna.Framework.Color?) + name.vb: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Color?) - uid: TinyLife.World.Opening.CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person) commentId: M:TinyLife.World.Opening.CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person) id: CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person) diff --git a/docs/api/TinyLife.World.OpeningType.yml b/docs/api/TinyLife.World.OpeningType.yml index c0f8fcd..c844b4b 100644 --- a/docs/api/TinyLife.World.OpeningType.yml +++ b/docs/api/TinyLife.World.OpeningType.yml @@ -9,8 +9,8 @@ items: - TinyLife.World.OpeningType.#ctor(System.String,MLEM.Textures.TextureRegion,TinyLife.World.WallMode,System.Int32,TinyLife.Utilities.ColorScheme[],System.Func{TinyLife.World.OpeningType,System.Int32[],TinyLife.Objects.WallLike,TinyLife.World.Opening},MLEM.Textures.TextureRegion) - TinyLife.World.OpeningType.Colors - TinyLife.World.OpeningType.Construct(System.Int32[],TinyLife.Objects.WallLike) - - TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},Microsoft.Xna.Framework.Point) - - TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single) + - TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},System.Single,Microsoft.Xna.Framework.Point) + - TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) - TinyLife.World.OpeningType.Icon - TinyLife.World.OpeningType.Name - TinyLife.World.OpeningType.Price @@ -331,16 +331,16 @@ items: nameWithType.vb: OpeningType.New(String, TextureRegion, WallMode, Integer, ColorScheme(), Func(Of OpeningType, Integer(), WallLike, Opening), TextureRegion) fullName.vb: TinyLife.World.OpeningType.New(String, MLEM.Textures.TextureRegion, TinyLife.World.WallMode, Integer, TinyLife.Utilities.ColorScheme(), System.Func(Of TinyLife.World.OpeningType, Integer(), TinyLife.Objects.WallLike, TinyLife.World.Opening), MLEM.Textures.TextureRegion) name.vb: New(String, TextureRegion, WallMode, Integer, ColorScheme(), Func(Of OpeningType, Integer(), WallLike, Opening), TextureRegion) -- uid: TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},Microsoft.Xna.Framework.Point) - commentId: M:TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},Microsoft.Xna.Framework.Point) - id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},Microsoft.Xna.Framework.Point) +- uid: TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},System.Single,Microsoft.Xna.Framework.Point) + commentId: M:TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},System.Single,Microsoft.Xna.Framework.Point) + id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Int32[],System.Nullable{Microsoft.Xna.Framework.Color},System.Single,Microsoft.Xna.Framework.Point) parent: TinyLife.World.OpeningType langs: - csharp - vb - name: Draw(GameTime, SpriteBatch, Vector2, bool, float, float, int[], Color?, Point) - nameWithType: OpeningType.Draw(GameTime, SpriteBatch, Vector2, bool, float, float, int[], Color?, Point) - fullName: TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, bool, float, float, int[], Microsoft.Xna.Framework.Color?, Microsoft.Xna.Framework.Point) + name: Draw(GameTime, SpriteBatch, Map, Point, Point, int, Vector2, bool, float, int[], Color?, float, Point) + nameWithType: OpeningType.Draw(GameTime, SpriteBatch, Map, Point, Point, int, Vector2, bool, float, int[], Color?, float, Point) + fullName: TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point, int, Microsoft.Xna.Framework.Vector2, bool, float, int[], Microsoft.Xna.Framework.Color?, float, Microsoft.Xna.Framework.Point) type: Method source: remote: @@ -356,7 +356,7 @@ items: summary: "\nDraws this opening in a wall\n" example: [] syntax: - content: public void Draw(GameTime time, SpriteBatch batch, Vector2 drawPos, bool vertical, float scale, float depth, int[] colors, Color? overrideColor, Point textureOffset = default) + content: public void Draw(GameTime time, SpriteBatch batch, Map map, Point pos1, Point pos2, int floor, Vector2 drawPos, bool vertical, float scale, int[] colors, Color? overrideColor, float depthOffset = 0, Point textureOffset = default) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -364,6 +364,14 @@ items: - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch description: The sprite batch to render with + - id: map + type: TinyLife.World.Map + - id: pos1 + type: Microsoft.Xna.Framework.Point + - id: pos2 + type: Microsoft.Xna.Framework.Point + - id: floor + type: System.Int32 - id: drawPos type: Microsoft.Xna.Framework.Vector2 description: The position, in screen space, to draw at @@ -373,33 +381,32 @@ items: - id: scale type: System.Single description: The scale to render with - - id: depth - type: System.Single - description: The depth to use for rendering - id: colors type: System.Int32[] description: The color indices that should be used for rendering - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} description: A color that this object should be rendered with, instead of its default color + - id: depthOffset + type: System.Single - id: textureOffset type: Microsoft.Xna.Framework.Point description: An offset that should be applied to the texture region. This value is multiplied with the texture region's size. - content.vb: Public Sub Draw(time As GameTime, batch As SpriteBatch, drawPos As Vector2, vertical As Boolean, scale As Single, depth As Single, colors As Integer(), overrideColor As Color?, textureOffset As Point = Nothing) + content.vb: Public Sub Draw(time As GameTime, batch As SpriteBatch, map As Map, pos1 As Point, pos2 As Point, floor As Integer, drawPos As Vector2, vertical As Boolean, scale As Single, colors As Integer(), overrideColor As Color?, depthOffset As Single = 0, textureOffset As Point = Nothing) overload: TinyLife.World.OpeningType.Draw* - nameWithType.vb: OpeningType.Draw(GameTime, SpriteBatch, Vector2, Boolean, Single, Single, Integer(), Color?, Point) - fullName.vb: TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Boolean, Single, Single, Integer(), Microsoft.Xna.Framework.Color?, Microsoft.Xna.Framework.Point) - name.vb: Draw(GameTime, SpriteBatch, Vector2, Boolean, Single, Single, Integer(), Color?, Point) -- uid: TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single) - commentId: M:TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single) - id: DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Int32[],System.Single) + nameWithType.vb: OpeningType.Draw(GameTime, SpriteBatch, Map, Point, Point, Integer, Vector2, Boolean, Single, Integer(), Color?, Single, Point) + fullName.vb: TinyLife.World.OpeningType.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point, Integer, Microsoft.Xna.Framework.Vector2, Boolean, Single, Integer(), Microsoft.Xna.Framework.Color?, Single, Microsoft.Xna.Framework.Point) + name.vb: Draw(GameTime, SpriteBatch, Map, Point, Point, Integer, Vector2, Boolean, Single, Integer(), Color?, Single, Point) +- uid: TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) + commentId: M:TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) + id: DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) parent: TinyLife.World.OpeningType langs: - csharp - vb - name: DrawUi(Element, SpriteBatch, GameTime, int[], float) - nameWithType: OpeningType.DrawUi(Element, SpriteBatch, GameTime, int[], float) - fullName: TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, int[], float) + name: DrawUi(Element, SpriteBatch, GameTime, Map, int[], float) + nameWithType: OpeningType.DrawUi(Element, SpriteBatch, GameTime, Map, int[], float) + fullName: TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, TinyLife.World.Map, int[], float) type: Method source: remote: @@ -415,7 +422,7 @@ items: summary: "\nDraws this opening in ui space rather than world space\n" example: [] syntax: - content: public void DrawUi(Element e, SpriteBatch batch, GameTime time, int[] colors, float drawScale = 0.3) + content: public void DrawUi(Element e, SpriteBatch batch, GameTime time, Map map, int[] colors, float drawScale) parameters: - id: e type: MLEM.Ui.Elements.Element @@ -426,17 +433,19 @@ items: - id: time type: Microsoft.Xna.Framework.GameTime description: The game time + - id: map + type: TinyLife.World.Map - id: colors type: System.Int32[] description: The color indices to draw with - id: drawScale type: System.Single description: The scale to draw with. 0.3 by default. - content.vb: Public Sub DrawUi(e As Element, batch As SpriteBatch, time As GameTime, colors As Integer(), drawScale As Single = 0.3) + content.vb: Public Sub DrawUi(e As Element, batch As SpriteBatch, time As GameTime, map As Map, colors As Integer(), drawScale As Single) overload: TinyLife.World.OpeningType.DrawUi* - nameWithType.vb: OpeningType.DrawUi(Element, SpriteBatch, GameTime, Integer(), Single) - fullName.vb: TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, Integer(), Single) - name.vb: DrawUi(Element, SpriteBatch, GameTime, Integer(), Single) + nameWithType.vb: OpeningType.DrawUi(Element, SpriteBatch, GameTime, Map, Integer(), Single) + fullName.vb: TinyLife.World.OpeningType.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, TinyLife.World.Map, Integer(), Single) + name.vb: DrawUi(Element, SpriteBatch, GameTime, Map, Integer(), Single) - uid: TinyLife.World.OpeningType.Construct(System.Int32[],TinyLife.Objects.WallLike) commentId: M:TinyLife.World.OpeningType.Construct(System.Int32[],TinyLife.Objects.WallLike) id: Construct(System.Int32[],TinyLife.Objects.WallLike) @@ -1249,6 +1258,19 @@ references: name: SpriteBatch nameWithType: SpriteBatch fullName: Microsoft.Xna.Framework.Graphics.SpriteBatch +- uid: TinyLife.World.Map + commentId: T:TinyLife.World.Map + parent: TinyLife.World + name: Map + nameWithType: Map + fullName: TinyLife.World.Map +- uid: Microsoft.Xna.Framework.Point + commentId: T:Microsoft.Xna.Framework.Point + parent: Microsoft.Xna.Framework + isExternal: true + name: Point + nameWithType: Point + fullName: Microsoft.Xna.Framework.Point - uid: Microsoft.Xna.Framework.Vector2 commentId: T:Microsoft.Xna.Framework.Vector2 parent: Microsoft.Xna.Framework @@ -1318,13 +1340,6 @@ references: name: Color isExternal: true - name: '?' -- uid: Microsoft.Xna.Framework.Point - commentId: T:Microsoft.Xna.Framework.Point - parent: Microsoft.Xna.Framework - isExternal: true - name: Point - nameWithType: Point - fullName: Microsoft.Xna.Framework.Point - uid: Microsoft.Xna.Framework commentId: N:Microsoft.Xna.Framework isExternal: true diff --git a/docs/api/TinyLife.World.Roof.yml b/docs/api/TinyLife.World.Roof.yml index 0794982..f7edff6 100644 --- a/docs/api/TinyLife.World.Roof.yml +++ b/docs/api/TinyLife.World.Roof.yml @@ -30,7 +30,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Roof path: ../TinyLife/World/Roof.cs - startLine: 259 + startLine: 258 assemblies: - Tiny Life namespace: TinyLife.World @@ -79,7 +79,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Type path: ../TinyLife/World/Roof.cs - startLine: 266 + startLine: 265 assemblies: - Tiny Life namespace: TinyLife.World @@ -118,7 +118,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Color path: ../TinyLife/World/Roof.cs - startLine: 271 + startLine: 270 assemblies: - Tiny Life namespace: TinyLife.World @@ -170,7 +170,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Colors path: ../TinyLife/World/Roof.cs - startLine: 275 + startLine: 274 assemblies: - Tiny Life namespace: TinyLife.World @@ -211,7 +211,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Rotation path: ../TinyLife/World/Roof.cs - startLine: 281 + startLine: 280 assemblies: - Tiny Life namespace: TinyLife.World @@ -252,7 +252,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Area path: ../TinyLife/World/Roof.cs - startLine: 286 + startLine: 285 assemblies: - Tiny Life namespace: TinyLife.World @@ -293,7 +293,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Floor path: ../TinyLife/World/Roof.cs - startLine: 292 + startLine: 291 assemblies: - Tiny Life namespace: TinyLife.World @@ -334,7 +334,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Wallpaper path: ../TinyLife/World/Roof.cs - startLine: 299 + startLine: 298 assemblies: - Tiny Life namespace: TinyLife.World @@ -373,7 +373,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/World/Roof.cs - startLine: 309 + startLine: 308 assemblies: - Tiny Life namespace: TinyLife.World @@ -420,7 +420,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPrice path: ../TinyLife/World/Roof.cs - startLine: 322 + startLine: 321 assemblies: - Tiny Life namespace: TinyLife.World @@ -451,7 +451,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/World/Roof.cs - startLine: 330 + startLine: 329 assemblies: - Tiny Life namespace: TinyLife.World @@ -482,7 +482,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoofAttachedFurnitureOffset path: ../TinyLife/World/Roof.cs - startLine: 347 + startLine: 346 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.RoofStyle.yml b/docs/api/TinyLife.World.RoofStyle.yml index 6727fe2..bb22b49 100644 --- a/docs/api/TinyLife.World.RoofStyle.yml +++ b/docs/api/TinyLife.World.RoofStyle.yml @@ -22,7 +22,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RoofStyle path: ../TinyLife/World/Roof.cs - startLine: 360 + startLine: 359 assemblies: - Tiny Life namespace: TinyLife.World @@ -51,7 +51,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Flat path: ../TinyLife/World/Roof.cs - startLine: 365 + startLine: 364 assemblies: - Tiny Life namespace: TinyLife.World @@ -79,7 +79,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Gable path: ../TinyLife/World/Roof.cs - startLine: 369 + startLine: 368 assemblies: - Tiny Life namespace: TinyLife.World @@ -107,7 +107,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Custom path: ../TinyLife/World/Roof.cs - startLine: 373 + startLine: 372 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.RoofType.yml b/docs/api/TinyLife.World.RoofType.yml index f3e61d9..eb31fd3 100644 --- a/docs/api/TinyLife.World.RoofType.yml +++ b/docs/api/TinyLife.World.RoofType.yml @@ -719,7 +719,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetGableOffset path: ../TinyLife/World/Roof.cs - startLine: 221 + startLine: 220 assemblies: - Tiny Life namespace: TinyLife.World @@ -760,7 +760,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPrice path: ../TinyLife/World/Roof.cs - startLine: 239 + startLine: 238 assemblies: - Tiny Life namespace: TinyLife.World @@ -795,7 +795,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/World/Roof.cs - startLine: 248 + startLine: 247 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.Stairs.yml b/docs/api/TinyLife.World.Stairs.yml index a90146d..d192963 100644 --- a/docs/api/TinyLife.World.Stairs.yml +++ b/docs/api/TinyLife.World.Stairs.yml @@ -18,6 +18,7 @@ items: - TinyLife.World.Stairs.TopEntryPosition - TinyLife.World.Stairs.Type - TinyLife.World.Stairs.Validate(TinyLife.World.Map) + - TinyLife.World.Stairs.Wallpaper langs: - csharp - vb @@ -300,6 +301,43 @@ items: - type: System.Runtime.Serialization.DataMemberAttribute ctor: System.Runtime.Serialization.DataMemberAttribute.#ctor arguments: [] +- uid: TinyLife.World.Stairs.Wallpaper + commentId: F:TinyLife.World.Stairs.Wallpaper + id: Wallpaper + parent: TinyLife.World.Stairs + langs: + - csharp + - vb + name: Wallpaper + nameWithType: Stairs.Wallpaper + fullName: TinyLife.World.Stairs.Wallpaper + type: Field + source: + remote: + path: TinyLife/World/Stairs.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: Wallpaper + path: ../TinyLife/World/Stairs.cs + startLine: 57 + assemblies: + - Tiny Life + namespace: TinyLife.World + syntax: + content: >- + [DataMember] + + public Wallpaper Wallpaper + return: + type: TinyLife.World.Wallpaper + content.vb: >- + + + Public Wallpaper As Wallpaper + attributes: + - type: System.Runtime.Serialization.DataMemberAttribute + ctor: System.Runtime.Serialization.DataMemberAttribute.#ctor + arguments: [] - uid: TinyLife.World.Stairs.Area commentId: P:TinyLife.World.Stairs.Area id: Area @@ -318,7 +356,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Area path: ../TinyLife/World/Stairs.cs - startLine: 59 + startLine: 62 assemblies: - Tiny Life namespace: TinyLife.World @@ -349,7 +387,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BottomEntryPosition path: ../TinyLife/World/Stairs.cs - startLine: 63 + startLine: 66 assemblies: - Tiny Life namespace: TinyLife.World @@ -380,7 +418,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TopEntryPosition path: ../TinyLife/World/Stairs.cs - startLine: 67 + startLine: 70 assemblies: - Tiny Life namespace: TinyLife.World @@ -411,7 +449,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/World/Stairs.cs - startLine: 80 + startLine: 83 assemblies: - Tiny Life namespace: TinyLife.World @@ -461,7 +499,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/World/Stairs.cs - startLine: 94 + startLine: 99 assemblies: - Tiny Life namespace: TinyLife.World @@ -496,7 +534,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: ../TinyLife/World/Stairs.cs - startLine: 105 + startLine: 117 assemblies: - Tiny Life namespace: TinyLife.World @@ -534,7 +572,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetArea path: ../TinyLife/World/Stairs.cs - startLine: 117 + startLine: 129 assemblies: - Tiny Life namespace: TinyLife.World @@ -1302,6 +1340,12 @@ references: name: Direction2 nameWithType: Direction2 fullName: MLEM.Misc.Direction2 +- uid: TinyLife.World.Wallpaper + commentId: T:TinyLife.World.Wallpaper + parent: TinyLife.World + name: Wallpaper + nameWithType: Wallpaper + fullName: TinyLife.World.Wallpaper - uid: TinyLife.World.Stairs.Area* commentId: Overload:TinyLife.World.Stairs.Area name: Area diff --git a/docs/api/TinyLife.World.StairsType.yml b/docs/api/TinyLife.World.StairsType.yml index 60f1f86..99e1806 100644 --- a/docs/api/TinyLife.World.StairsType.yml +++ b/docs/api/TinyLife.World.StairsType.yml @@ -5,11 +5,12 @@ items: id: StairsType parent: TinyLife.World children: - - TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[]) - - TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme[]) + - TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[]) + - TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,TinyLife.Utilities.ColorScheme[]) - TinyLife.World.StairsType.ColorSchemes - TinyLife.World.StairsType.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,MLEM.Misc.Direction2,MLEM.Misc.Direction2,System.Int32[],TinyLife.World.Wallpaper,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - TinyLife.World.StairsType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) + - TinyLife.World.StairsType.HasWallpaper - TinyLife.World.StairsType.Icon - TinyLife.World.StairsType.Name - TinyLife.World.StairsType.Price @@ -31,7 +32,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StairsType path: ../TinyLife/World/Stairs.cs - startLine: 136 + startLine: 148 assemblies: - Tiny Life namespace: TinyLife.World @@ -76,7 +77,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Types path: ../TinyLife/World/Stairs.cs - startLine: 143 + startLine: 155 assemblies: - Tiny Life namespace: TinyLife.World @@ -105,7 +106,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: ../TinyLife/World/Stairs.cs - startLine: 152 + startLine: 164 assemblies: - Tiny Life namespace: TinyLife.World @@ -134,7 +135,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Price path: ../TinyLife/World/Stairs.cs - startLine: 156 + startLine: 168 assemblies: - Tiny Life namespace: TinyLife.World @@ -163,7 +164,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Textures path: ../TinyLife/World/Stairs.cs - startLine: 160 + startLine: 172 assemblies: - Tiny Life namespace: TinyLife.World @@ -192,7 +193,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TextureRegion path: ../TinyLife/World/Stairs.cs - startLine: 165 + startLine: 177 assemblies: - Tiny Life namespace: TinyLife.World @@ -221,7 +222,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ColorSchemes path: ../TinyLife/World/Stairs.cs - startLine: 169 + startLine: 181 assemblies: - Tiny Life namespace: TinyLife.World @@ -250,7 +251,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Icon path: ../TinyLife/World/Stairs.cs - startLine: 173 + startLine: 185 assemblies: - Tiny Life namespace: TinyLife.World @@ -261,16 +262,43 @@ items: return: type: MLEM.Textures.TextureRegion content.vb: Public ReadOnly Icon As TextureRegion -- uid: TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[]) - commentId: M:TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[]) - id: '#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[])' +- uid: TinyLife.World.StairsType.HasWallpaper + commentId: F:TinyLife.World.StairsType.HasWallpaper + id: HasWallpaper parent: TinyLife.World.StairsType langs: - csharp - vb - name: StairsType(string, int, Dictionary, Point, TextureRegion, params ColorScheme[]) - nameWithType: StairsType.StairsType(string, int, Dictionary, Point, TextureRegion, params ColorScheme[]) - fullName: TinyLife.World.StairsType.StairsType(string, int, System.Collections.Generic.Dictionary, Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion, params TinyLife.Utilities.ColorScheme[]) + name: HasWallpaper + nameWithType: StairsType.HasWallpaper + fullName: TinyLife.World.StairsType.HasWallpaper + type: Field + source: + remote: + path: TinyLife/World/Stairs.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: HasWallpaper + path: ../TinyLife/World/Stairs.cs + startLine: 186 + assemblies: + - Tiny Life + namespace: TinyLife.World + syntax: + content: public readonly bool HasWallpaper + return: + type: System.Boolean + content.vb: Public ReadOnly HasWallpaper As Boolean +- uid: TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[]) + commentId: M:TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[]) + id: '#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,MLEM.Textures.TextureRegion,TinyLife.Utilities.ColorScheme[])' + parent: TinyLife.World.StairsType + langs: + - csharp + - vb + name: StairsType(string, int, Dictionary, Point, bool, TextureRegion, params ColorScheme[]) + nameWithType: StairsType.StairsType(string, int, Dictionary, Point, bool, TextureRegion, params ColorScheme[]) + fullName: TinyLife.World.StairsType.StairsType(string, int, System.Collections.Generic.Dictionary, Microsoft.Xna.Framework.Point, bool, MLEM.Textures.TextureRegion, params TinyLife.Utilities.ColorScheme[]) type: Constructor source: remote: @@ -279,14 +307,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/World/Stairs.cs - startLine: 184 + startLine: 197 assemblies: - Tiny Life namespace: TinyLife.World summary: "\nCreates a new stairs type with the given settings.\n" example: [] syntax: - content: public StairsType(string name, int price, Dictionary textures, Point textureRegion, TextureRegion icon, params ColorScheme[] colorSchemes) + content: public StairsType(string name, int price, Dictionary textures, Point textureRegion, bool hasWallpaper, TextureRegion icon, params ColorScheme[] colorSchemes) parameters: - id: name type: System.String @@ -300,27 +328,29 @@ items: - id: textureRegion type: Microsoft.Xna.Framework.Point description: The texture region of this stairs type on the <see cref="Textures"/> texture atlas. + - id: hasWallpaper + type: System.Boolean - id: icon type: MLEM.Textures.TextureRegion description: The icon for this stairs type. - id: colorSchemes type: TinyLife.Utilities.ColorScheme[] description: The color schemes for each layer of this stairs type. - content.vb: Public Sub New(name As String, price As Integer, textures As Dictionary(Of Point, TextureRegion), textureRegion As Point, icon As TextureRegion, ParamArray colorSchemes As ColorScheme()) + content.vb: Public Sub New(name As String, price As Integer, textures As Dictionary(Of Point, TextureRegion), textureRegion As Point, hasWallpaper As Boolean, icon As TextureRegion, ParamArray colorSchemes As ColorScheme()) overload: TinyLife.World.StairsType.#ctor* - nameWithType.vb: StairsType.New(String, Integer, Dictionary(Of Point, TextureRegion), Point, TextureRegion, ParamArray ColorScheme()) - fullName.vb: TinyLife.World.StairsType.New(String, Integer, System.Collections.Generic.Dictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion), Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion, ParamArray TinyLife.Utilities.ColorScheme()) - name.vb: New(String, Integer, Dictionary(Of Point, TextureRegion), Point, TextureRegion, ParamArray ColorScheme()) -- uid: TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme[]) - commentId: M:TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme[]) - id: '#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme[])' + nameWithType.vb: StairsType.New(String, Integer, Dictionary(Of Point, TextureRegion), Point, Boolean, TextureRegion, ParamArray ColorScheme()) + fullName.vb: TinyLife.World.StairsType.New(String, Integer, System.Collections.Generic.Dictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion), Microsoft.Xna.Framework.Point, Boolean, MLEM.Textures.TextureRegion, ParamArray TinyLife.Utilities.ColorScheme()) + name.vb: New(String, Integer, Dictionary(Of Point, TextureRegion), Point, Boolean, TextureRegion, ParamArray ColorScheme()) +- uid: TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,TinyLife.Utilities.ColorScheme[]) + commentId: M:TinyLife.World.StairsType.#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,TinyLife.Utilities.ColorScheme[]) + id: '#ctor(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,System.Boolean,TinyLife.Utilities.ColorScheme[])' parent: TinyLife.World.StairsType langs: - csharp - vb - name: StairsType(string, int, Dictionary, Point, params ColorScheme[]) - nameWithType: StairsType.StairsType(string, int, Dictionary, Point, params ColorScheme[]) - fullName: TinyLife.World.StairsType.StairsType(string, int, System.Collections.Generic.Dictionary, Microsoft.Xna.Framework.Point, params TinyLife.Utilities.ColorScheme[]) + name: StairsType(string, int, Dictionary, Point, bool, params ColorScheme[]) + nameWithType: StairsType.StairsType(string, int, Dictionary, Point, bool, params ColorScheme[]) + fullName: TinyLife.World.StairsType.StairsType(string, int, System.Collections.Generic.Dictionary, Microsoft.Xna.Framework.Point, bool, params TinyLife.Utilities.ColorScheme[]) type: Constructor source: remote: @@ -329,14 +359,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/World/Stairs.cs - startLine: 201 + startLine: 215 assemblies: - Tiny Life namespace: TinyLife.World summary: "\nCreates a new stairs type with the given settings.\n" example: [] syntax: - content: public StairsType(string name, int price, Dictionary textures, Point textureRegion, params ColorScheme[] colorSchemes) + content: public StairsType(string name, int price, Dictionary textures, Point textureRegion, bool hasWallpaper, params ColorScheme[] colorSchemes) parameters: - id: name type: System.String @@ -350,14 +380,16 @@ items: - id: textureRegion type: Microsoft.Xna.Framework.Point description: The texture region of this stairs type on the <see cref="Textures"/> texture atlas. + - id: hasWallpaper + type: System.Boolean - id: colorSchemes type: TinyLife.Utilities.ColorScheme[] description: The color schemes for each layer of this stairs type. - content.vb: Public Sub New(name As String, price As Integer, textures As Dictionary(Of Point, TextureRegion), textureRegion As Point, ParamArray colorSchemes As ColorScheme()) + content.vb: Public Sub New(name As String, price As Integer, textures As Dictionary(Of Point, TextureRegion), textureRegion As Point, hasWallpaper As Boolean, ParamArray colorSchemes As ColorScheme()) overload: TinyLife.World.StairsType.#ctor* - nameWithType.vb: StairsType.New(String, Integer, Dictionary(Of Point, TextureRegion), Point, ParamArray ColorScheme()) - fullName.vb: TinyLife.World.StairsType.New(String, Integer, System.Collections.Generic.Dictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion), Microsoft.Xna.Framework.Point, ParamArray TinyLife.Utilities.ColorScheme()) - name.vb: New(String, Integer, Dictionary(Of Point, TextureRegion), Point, ParamArray ColorScheme()) + nameWithType.vb: StairsType.New(String, Integer, Dictionary(Of Point, TextureRegion), Point, Boolean, ParamArray ColorScheme()) + fullName.vb: TinyLife.World.StairsType.New(String, Integer, System.Collections.Generic.Dictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion), Microsoft.Xna.Framework.Point, Boolean, ParamArray TinyLife.Utilities.ColorScheme()) + name.vb: New(String, Integer, Dictionary(Of Point, TextureRegion), Point, Boolean, ParamArray ColorScheme()) - uid: TinyLife.World.StairsType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) commentId: M:TinyLife.World.StairsType.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) id: DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Int32[],System.Single) @@ -376,7 +408,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawUi path: ../TinyLife/World/Stairs.cs - startLine: 213 + startLine: 227 assemblies: - Tiny Life namespace: TinyLife.World @@ -426,7 +458,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: ../TinyLife/World/Stairs.cs - startLine: 234 + startLine: 248 assemblies: - Tiny Life namespace: TinyLife.World @@ -496,7 +528,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/World/Stairs.cs - startLine: 272 + startLine: 297 assemblies: - Tiny Life namespace: TinyLife.World @@ -1222,6 +1254,17 @@ references: - uid: MLEM.Textures name: Textures isExternal: true +- uid: System.Boolean + commentId: T:System.Boolean + parent: System + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.boolean + name: bool + nameWithType: bool + fullName: bool + nameWithType.vb: Boolean + fullName.vb: Boolean + name.vb: Boolean - uid: TinyLife.World.StairsType.#ctor* commentId: Overload:TinyLife.World.StairsType.#ctor name: StairsType diff --git a/docs/api/TinyLife.World.SwingingDoor.yml b/docs/api/TinyLife.World.SwingingDoor.yml index ed85971..ab173dc 100644 --- a/docs/api/TinyLife.World.SwingingDoor.yml +++ b/docs/api/TinyLife.World.SwingingDoor.yml @@ -7,7 +7,7 @@ items: children: - TinyLife.World.SwingingDoor.#ctor(TinyLife.World.OpeningType,System.Int32[]) - TinyLife.World.SwingingDoor.CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person) - - TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + - TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - TinyLife.World.SwingingDoor.IsOpen(TinyLife.World.Map,TinyLife.Objects.WallLike) - TinyLife.World.SwingingDoor.Lock langs: @@ -131,16 +131,16 @@ items: nameWithType.vb: SwingingDoor.New(OpeningType, Integer()) fullName.vb: TinyLife.World.SwingingDoor.New(TinyLife.World.OpeningType, Integer()) name.vb: New(OpeningType, Integer()) -- uid: TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - commentId: M:TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) +- uid: TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + commentId: M:TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) parent: TinyLife.World.SwingingDoor langs: - csharp - vb - name: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, float, Color?) - nameWithType: SwingingDoor.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, float, Color?) - fullName: TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, bool, float, float, Microsoft.Xna.Framework.Color?) + name: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, Color?) + nameWithType: SwingingDoor.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, Color?) + fullName: TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, bool, float, Microsoft.Xna.Framework.Color?) type: Method source: remote: @@ -156,7 +156,7 @@ items: summary: "\nDraws this opening in the world with the given settings\n" example: [] syntax: - content: public override void Draw(GameTime time, SpriteBatch batch, Map map, WallLike wall, Vector2 drawPos, bool vertical, float scale, float depth, Color? overrideColor) + content: public override void Draw(GameTime time, SpriteBatch batch, Map map, WallLike wall, Vector2 drawPos, bool vertical, float scale, Color? overrideColor) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -179,18 +179,15 @@ items: - id: scale type: System.Single description: The scale to draw the opening with - - id: depth - type: System.Single - description: The depth to use for drawing the opening - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} description: A color that should be used instead of this opening's default color, or null to use the opening's default color - content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, map As Map, wall As WallLike, drawPos As Vector2, vertical As Boolean, scale As Single, depth As Single, overrideColor As Color?) - overridden: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, map As Map, wall As WallLike, drawPos As Vector2, vertical As Boolean, scale As Single, overrideColor As Color?) + overridden: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) overload: TinyLife.World.SwingingDoor.Draw* - nameWithType.vb: SwingingDoor.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Single, Color?) - fullName.vb: TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, Boolean, Single, Single, Microsoft.Xna.Framework.Color?) - name.vb: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Single, Color?) + nameWithType.vb: SwingingDoor.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Color?) + fullName.vb: TinyLife.World.SwingingDoor.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, Boolean, Single, Microsoft.Xna.Framework.Color?) + name.vb: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Color?) - uid: TinyLife.World.SwingingDoor.CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person) commentId: M:TinyLife.World.SwingingDoor.CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person) id: CanWalkThrough(TinyLife.World.Map,TinyLife.Objects.WallLike,TinyLife.Objects.Person) @@ -761,19 +758,19 @@ references: href: https://learn.microsoft.com/dotnet/api/system.int32 - name: ( - name: ) -- uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) - commentId: M:TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) +- uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + commentId: M:TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) parent: TinyLife.World.Opening isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, float, Color?) - nameWithType: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, float, Color?) - fullName: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, bool, float, float, Microsoft.Xna.Framework.Color?) - nameWithType.vb: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Single, Color?) - fullName.vb: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, Boolean, Single, Single, Microsoft.Xna.Framework.Color?) - name.vb: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Single, Color?) + name: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, Color?) + nameWithType: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, bool, float, Color?) + fullName: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, bool, float, Microsoft.Xna.Framework.Color?) + nameWithType.vb: Opening.Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Color?) + fullName.vb: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, TinyLife.Objects.WallLike, Microsoft.Xna.Framework.Vector2, Boolean, Single, Microsoft.Xna.Framework.Color?) + name.vb: Draw(GameTime, SpriteBatch, Map, WallLike, Vector2, Boolean, Single, Color?) spec.csharp: - - uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + - uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) name: Draw - name: ( - uid: Microsoft.Xna.Framework.GameTime @@ -811,19 +808,13 @@ references: href: https://learn.microsoft.com/dotnet/api/system.single - name: ',' - name: " " - - uid: System.Single - name: float - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.single - - name: ',' - - name: " " - uid: Microsoft.Xna.Framework.Color name: Color isExternal: true - name: '?' - name: ) spec.vb: - - uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + - uid: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.Objects.WallLike,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) name: Draw - name: ( - uid: Microsoft.Xna.Framework.GameTime @@ -861,12 +852,6 @@ references: href: https://learn.microsoft.com/dotnet/api/system.single - name: ',' - name: " " - - uid: System.Single - name: Single - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.single - - name: ',' - - name: " " - uid: Microsoft.Xna.Framework.Color name: Color isExternal: true diff --git a/docs/api/TinyLife.World.Tile.Category.yml b/docs/api/TinyLife.World.Tile.Category.yml index fb1bcb8..421265b 100644 --- a/docs/api/TinyLife.World.Tile.Category.yml +++ b/docs/api/TinyLife.World.Tile.Category.yml @@ -24,7 +24,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Category path: ../TinyLife/World/Tile.cs - startLine: 353 + startLine: 366 assemblies: - Tiny Life namespace: TinyLife.World @@ -63,7 +63,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: None path: ../TinyLife/World/Tile.cs - startLine: 359 + startLine: 372 assemblies: - Tiny Life namespace: TinyLife.World @@ -91,7 +91,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Natural path: ../TinyLife/World/Tile.cs - startLine: 363 + startLine: 376 assemblies: - Tiny Life namespace: TinyLife.World @@ -119,7 +119,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Water path: ../TinyLife/World/Tile.cs - startLine: 367 + startLine: 380 assemblies: - Tiny Life namespace: TinyLife.World @@ -147,7 +147,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ValidExitPoint path: ../TinyLife/World/Tile.cs - startLine: 372 + startLine: 385 assemblies: - Tiny Life namespace: TinyLife.World @@ -175,7 +175,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Road path: ../TinyLife/World/Tile.cs - startLine: 377 + startLine: 390 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.Tile.yml b/docs/api/TinyLife.World.Tile.yml index 9215bcf..3906b56 100644 --- a/docs/api/TinyLife.World.Tile.yml +++ b/docs/api/TinyLife.World.Tile.yml @@ -15,6 +15,7 @@ items: - TinyLife.World.Tile.Draw(Microsoft.Xna.Framework.GameTime,System.Object,TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item},System.Boolean) - TinyLife.World.Tile.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,System.Single) - TinyLife.World.Tile.GetAutoTileBorder(TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Point,TinyLife.World.Tile) + - TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) - TinyLife.World.Tile.GetPrice - TinyLife.World.Tile.GetVariationTexture(MLEM.Misc.Direction2,Microsoft.Xna.Framework.Point) - TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) @@ -656,7 +657,7 @@ items: summary: "\nDraws this tile at the given position in the world using a or \n" example: [] syntax: - content: public virtual bool Draw(GameTime time, object batch, Map map, Point pos, int floor, Vector2 drawPos, float depth, float scale, ICollection items, bool hasStaticContext) + content: public virtual bool Draw(GameTime time, object batch, Map map, Point pos, int floor, Vector2 drawPos, float scale, float depthOffset, ICollection items, bool hasStaticContext) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -676,12 +677,11 @@ items: - id: drawPos type: Microsoft.Xna.Framework.Vector2 description: The position, in screen space, to draw at. - - id: depth - type: System.Single - description: The depth to use for drawing. - id: scale type: System.Single description: The scale to draw the tile with. + - id: depthOffset + type: System.Single - id: items type: System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item} description: The collection that added items can optionally be added to. @@ -691,7 +691,7 @@ items: return: type: System.Boolean description: Whether this tile was fully drawn. If the batch is a and false is returned, this tile will be marked as an animated tile, causing it to draw every frame. - content.vb: Public Overridable Function Draw(time As GameTime, batch As Object, map As Map, pos As Point, floor As Integer, drawPos As Vector2, depth As Single, scale As Single, items As ICollection(Of StaticSpriteBatch.Item), hasStaticContext As Boolean) As Boolean + content.vb: Public Overridable Function Draw(time As GameTime, batch As Object, map As Map, pos As Point, floor As Integer, drawPos As Vector2, scale As Single, depthOffset As Single, items As ICollection(Of StaticSpriteBatch.Item), hasStaticContext As Boolean) As Boolean overload: TinyLife.World.Tile.Draw* nameWithType.vb: Tile.Draw(GameTime, Object, Map, Point, Integer, Vector2, Single, Single, ICollection(Of StaticSpriteBatch.Item), Boolean) fullName.vb: TinyLife.World.Tile.Draw(Microsoft.Xna.Framework.GameTime, Object, TinyLife.World.Map, Microsoft.Xna.Framework.Point, Integer, Microsoft.Xna.Framework.Vector2, Single, Single, System.Collections.Generic.ICollection(Of MLEM.Graphics.StaticSpriteBatch.Item), Boolean) @@ -721,7 +721,7 @@ items: summary: "\nDraws this tile on the given ui element, in ui space\n" example: [] syntax: - content: public virtual void DrawUi(Element e, GameTime time, SpriteBatch batch, float drawScale = 0.4) + content: public virtual void DrawUi(Element e, GameTime time, SpriteBatch batch, float drawScale) parameters: - id: e type: MLEM.Ui.Elements.Element @@ -734,8 +734,8 @@ items: description: The sprite batch to use for drawing - id: drawScale type: System.Single - description: The scale to draw the tile with. Defaults to 0.4. - content.vb: Public Overridable Sub DrawUi(e As Element, time As GameTime, batch As SpriteBatch, drawScale As Single = 0.4) + description: The scale to draw the tile with. + content.vb: Public Overridable Sub DrawUi(e As Element, time As GameTime, batch As SpriteBatch, drawScale As Single) overload: TinyLife.World.Tile.DrawUi* nameWithType.vb: Tile.DrawUi(Element, GameTime, SpriteBatch, Single) fullName.vb: TinyLife.World.Tile.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, Single) @@ -903,50 +903,6 @@ items: description: The texture to display at the location. content.vb: Protected Function GetVariationTexture(direction As Direction2, pos As Point) As Point overload: TinyLife.World.Tile.GetVariationTexture* -- uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - commentId: M:TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - id: GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - parent: TinyLife.World.Tile - langs: - - csharp - - vb - name: GetVisualOffset(Direction2, int, int) - nameWithType: Tile.GetVisualOffset(Direction2, int, int) - fullName: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, int, int) - type: Method - source: - remote: - path: TinyLife/World/Tile.cs - branch: main - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: GetVisualOffset - path: ../TinyLife/World/Tile.cs - startLine: 261 - assemblies: - - Tiny Life - namespace: TinyLife.World - summary: "\nReturns the visual offset of the given x and y values, based on the given direction, which is usually the game's .\n" - example: [] - syntax: - content: protected static Point GetVisualOffset(Direction2 direction, int x, int y) - parameters: - - id: direction - type: MLEM.Misc.Direction2 - description: The rotation. - - id: x - type: System.Int32 - description: The x coordinate to offset. - - id: y - type: System.Int32 - description: The y coordinate to offset. - return: - type: Microsoft.Xna.Framework.Point - description: The visual offset. - content.vb: Protected Shared Function GetVisualOffset(direction As Direction2, x As Integer, y As Integer) As Point - overload: TinyLife.World.Tile.GetVisualOffset* - nameWithType.vb: Tile.GetVisualOffset(Direction2, Integer, Integer) - fullName.vb: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, Integer, Integer) - name.vb: GetVisualOffset(Direction2, Integer, Integer) - uid: TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme,System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Nullable{System.Int32},System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) commentId: M:TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme,System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Nullable{System.Int32},System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) id: Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme,System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Nullable{System.Int32},System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) @@ -965,7 +921,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/World/Tile.cs - startLine: 286 + startLine: 270 assemblies: - Tiny Life namespace: TinyLife.World @@ -1036,7 +992,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/World/Tile.cs - startLine: 306 + startLine: 290 assemblies: - Tiny Life namespace: TinyLife.World @@ -1107,7 +1063,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/World/Tile.cs - startLine: 330 + startLine: 314 assemblies: - Tiny Life namespace: TinyLife.World @@ -1163,6 +1119,99 @@ items: nameWithType.vb: Tile.Register(String, Integer, Dictionary(Of Point, TextureRegion), Point(), ColorScheme(), Single, Boolean, Tile.Category, TextureRegion, Func(Of Direction2, Point()), Integer(), Func(Of Point, Single), Type) fullName.vb: TinyLife.World.Tile.Register(String, Integer, System.Collections.Generic.Dictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion), Microsoft.Xna.Framework.Point(), TinyLife.Utilities.ColorScheme(), Single, Boolean, TinyLife.World.Tile.Category, MLEM.Textures.TextureRegion, System.Func(Of MLEM.Misc.Direction2, Microsoft.Xna.Framework.Point()), Integer(), System.Func(Of Microsoft.Xna.Framework.Point, Single), System.Type) name.vb: Register(String, Integer, Dictionary(Of Point, TextureRegion), Point(), ColorScheme(), Single, Boolean, Category, TextureRegion, Func(Of Direction2, Point()), Integer(), Func(Of Point, Single), Type) +- uid: TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + commentId: M:TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + id: GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + parent: TinyLife.World.Tile + langs: + - csharp + - vb + name: GetDepth(Map, Vector2, float, float, bool) + nameWithType: Tile.GetDepth(Map, Vector2, float, float, bool) + fullName: TinyLife.World.Tile.GetDepth(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2, float, float, bool) + type: Method + source: + remote: + path: TinyLife/World/Tile.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetDepth + path: ../TinyLife/World/Tile.cs + startLine: 338 + assemblies: + - Tiny Life + namespace: TinyLife.World + summary: "\nGets the depth that should be used for drawing a at the given position\n" + example: [] + syntax: + content: public static float GetDepth(Map map, Vector2 worldPos, float floor, float offset = 0, bool borderOffset = true) + parameters: + - id: map + type: TinyLife.World.Map + description: The map to get depth on. + - id: worldPos + type: Microsoft.Xna.Framework.Vector2 + description: The position to get depth for, in tile coordinates + - id: floor + type: System.Single + description: The floor to get depth for. + - id: offset + type: System.Single + - id: borderOffset + type: System.Boolean + description: Whether the map border offset should be applied to the camera rotation using . + return: + type: System.Single + description: The depth to pass to the draw call + content.vb: Public Shared Function GetDepth(map As Map, worldPos As Vector2, floor As Single, offset As Single = 0, borderOffset As Boolean = True) As Single + overload: TinyLife.World.Tile.GetDepth* + nameWithType.vb: Tile.GetDepth(Map, Vector2, Single, Single, Boolean) + fullName.vb: TinyLife.World.Tile.GetDepth(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2, Single, Single, Boolean) + name.vb: GetDepth(Map, Vector2, Single, Single, Boolean) +- uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + commentId: M:TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + id: GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + parent: TinyLife.World.Tile + langs: + - csharp + - vb + name: GetVisualOffset(Direction2, int, int) + nameWithType: Tile.GetVisualOffset(Direction2, int, int) + fullName: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, int, int) + type: Method + source: + remote: + path: TinyLife/World/Tile.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetVisualOffset + path: ../TinyLife/World/Tile.cs + startLine: 350 + assemblies: + - Tiny Life + namespace: TinyLife.World + summary: "\nReturns the visual offset of the given x and y values, based on the given direction, which is usually the game's .\n" + example: [] + syntax: + content: protected static Point GetVisualOffset(Direction2 direction, int x, int y) + parameters: + - id: direction + type: MLEM.Misc.Direction2 + description: The rotation. + - id: x + type: System.Int32 + description: The x coordinate to offset. + - id: y + type: System.Int32 + description: The y coordinate to offset. + return: + type: Microsoft.Xna.Framework.Point + description: The visual offset. + content.vb: Protected Shared Function GetVisualOffset(direction As Direction2, x As Integer, y As Integer) As Point + overload: TinyLife.World.Tile.GetVisualOffset* + nameWithType.vb: Tile.GetVisualOffset(Direction2, Integer, Integer) + fullName.vb: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, Integer, Integer) + name.vb: GetVisualOffset(Direction2, Integer, Integer) references: - uid: TinyLife.World.Map commentId: T:TinyLife.World.Map @@ -2718,16 +2767,6 @@ references: - uid: MLEM.Misc name: Misc isExternal: true -- uid: TinyLife.Options.CameraRotation - commentId: F:TinyLife.Options.CameraRotation - name: CameraRotation - nameWithType: Options.CameraRotation - fullName: TinyLife.Options.CameraRotation -- uid: TinyLife.World.Tile.GetVisualOffset* - commentId: Overload:TinyLife.World.Tile.GetVisualOffset - name: GetVisualOffset - nameWithType: Tile.GetVisualOffset - fullName: TinyLife.World.Tile.GetVisualOffset - uid: TinyLife.World.Tile.Register* commentId: Overload:TinyLife.World.Tile.Register name: Register @@ -2900,3 +2939,68 @@ references: name: Tile - name: ( - name: ) +- uid: TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + commentId: M:TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.boolean + name: ApplyCameraRotation(Vector2, bool, Direction2?) + nameWithType: Map.ApplyCameraRotation(Vector2, bool, Direction2?) + fullName: TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2, bool, MLEM.Misc.Direction2?) + nameWithType.vb: Map.ApplyCameraRotation(Vector2, Boolean, Direction2?) + fullName.vb: TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2, Boolean, MLEM.Misc.Direction2?) + name.vb: ApplyCameraRotation(Vector2, Boolean, Direction2?) + spec.csharp: + - uid: TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + name: ApplyCameraRotation + - name: ( + - uid: Microsoft.Xna.Framework.Vector2 + name: Vector2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Boolean + name: bool + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.boolean + - name: ',' + - name: " " + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: '?' + - name: ) + spec.vb: + - uid: TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + name: ApplyCameraRotation + - name: ( + - uid: Microsoft.Xna.Framework.Vector2 + name: Vector2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Boolean + name: Boolean + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.boolean + - name: ',' + - name: " " + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: '?' + - name: ) +- uid: TinyLife.World.Tile.GetDepth* + commentId: Overload:TinyLife.World.Tile.GetDepth + name: GetDepth + nameWithType: Tile.GetDepth + fullName: TinyLife.World.Tile.GetDepth +- uid: TinyLife.Options.CameraRotation + commentId: F:TinyLife.Options.CameraRotation + name: CameraRotation + nameWithType: Options.CameraRotation + fullName: TinyLife.Options.CameraRotation +- uid: TinyLife.World.Tile.GetVisualOffset* + commentId: Overload:TinyLife.World.Tile.GetVisualOffset + name: GetVisualOffset + nameWithType: Tile.GetVisualOffset + fullName: TinyLife.World.Tile.GetVisualOffset diff --git a/docs/api/TinyLife.World.UpdateDelegate.yml b/docs/api/TinyLife.World.UpdateDelegate.yml index 4d0ab4e..fba9125 100644 --- a/docs/api/TinyLife.World.UpdateDelegate.yml +++ b/docs/api/TinyLife.World.UpdateDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpdateDelegate path: ../TinyLife/World/Map.cs - startLine: 2939 + startLine: 2924 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.UpdateDelegateNoPhase.yml b/docs/api/TinyLife.World.UpdateDelegateNoPhase.yml index b7e435f..d8ac5fd 100644 --- a/docs/api/TinyLife.World.UpdateDelegateNoPhase.yml +++ b/docs/api/TinyLife.World.UpdateDelegateNoPhase.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpdateDelegateNoPhase path: ../TinyLife/World/Map.cs - startLine: 2944 + startLine: 2929 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.Wall.yml b/docs/api/TinyLife.World.Wall.yml index 9e516bc..f2ba445 100644 --- a/docs/api/TinyLife.World.Wall.yml +++ b/docs/api/TinyLife.World.Wall.yml @@ -250,7 +250,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsDown path: ../TinyLife/World/Wall.cs - startLine: 54 + startLine: 53 assemblies: - Tiny Life namespace: TinyLife.World @@ -281,7 +281,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDisplayMode path: ../TinyLife/World/Wall.cs - startLine: 69 + startLine: 68 assemblies: - Tiny Life namespace: TinyLife.World @@ -312,7 +312,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPrice path: ../TinyLife/World/Wall.cs - startLine: 74 + startLine: 73 assemblies: - Tiny Life namespace: TinyLife.World @@ -344,7 +344,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/World/Wall.cs - startLine: 88 + startLine: 87 assemblies: - Tiny Life namespace: TinyLife.World @@ -379,7 +379,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnAdded path: ../TinyLife/World/Wall.cs - startLine: 97 + startLine: 96 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.Wallpaper.yml b/docs/api/TinyLife.World.Wallpaper.yml index 5eee15b..96eb94d 100644 --- a/docs/api/TinyLife.World.Wallpaper.yml +++ b/docs/api/TinyLife.World.Wallpaper.yml @@ -10,8 +10,8 @@ items: - TinyLife.World.Wallpaper.Colors - TinyLife.World.Wallpaper.ColorSchemes - TinyLife.World.Wallpaper.DefaultColors - - TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Single,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Color}) - - TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Single) + - TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + - TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Single) - TinyLife.World.Wallpaper.GetPrice - TinyLife.World.Wallpaper.Icon - TinyLife.World.Wallpaper.Name @@ -35,7 +35,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Wallpaper path: ../TinyLife/World/Wallpaper.cs - startLine: 20 + startLine: 21 assemblies: - Tiny Life namespace: TinyLife.World @@ -80,7 +80,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Wallpapers path: ../TinyLife/World/Wallpaper.cs - startLine: 28 + startLine: 29 assemblies: - Tiny Life namespace: TinyLife.World @@ -109,7 +109,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BaseName path: ../TinyLife/World/Wallpaper.cs - startLine: 58 + startLine: 59 assemblies: - Tiny Life namespace: TinyLife.World @@ -138,7 +138,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: ../TinyLife/World/Wallpaper.cs - startLine: 62 + startLine: 63 assemblies: - Tiny Life namespace: TinyLife.World @@ -167,7 +167,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Price path: ../TinyLife/World/Wallpaper.cs - startLine: 66 + startLine: 67 assemblies: - Tiny Life namespace: TinyLife.World @@ -196,7 +196,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ColorSchemes path: ../TinyLife/World/Wallpaper.cs - startLine: 71 + startLine: 72 assemblies: - Tiny Life namespace: TinyLife.World @@ -225,7 +225,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Colors path: ../TinyLife/World/Wallpaper.cs - startLine: 76 + startLine: 77 assemblies: - Tiny Life namespace: TinyLife.World @@ -254,7 +254,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Icon path: ../TinyLife/World/Wallpaper.cs - startLine: 81 + startLine: 82 assemblies: - Tiny Life namespace: TinyLife.World @@ -283,7 +283,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DefaultColors path: ../TinyLife/World/Wallpaper.cs - startLine: 85 + startLine: 86 assemblies: - Tiny Life namespace: TinyLife.World @@ -312,7 +312,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Textures path: ../TinyLife/World/Wallpaper.cs - startLine: 89 + startLine: 90 assemblies: - Tiny Life namespace: TinyLife.World @@ -341,7 +341,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TextureRegion path: ../TinyLife/World/Wallpaper.cs - startLine: 94 + startLine: 95 assemblies: - Tiny Life namespace: TinyLife.World @@ -370,7 +370,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/World/Wallpaper.cs - startLine: 100 + startLine: 101 assemblies: - Tiny Life namespace: TinyLife.World @@ -402,16 +402,16 @@ items: nameWithType.vb: Wallpaper.New(String, String, Integer, Dictionary(Of Point, TextureRegion), Point, Integer(), ColorScheme(), TextureRegion, Integer()) fullName.vb: TinyLife.World.Wallpaper.New(String, String, Integer, System.Collections.Generic.Dictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion), Microsoft.Xna.Framework.Point, Integer(), TinyLife.Utilities.ColorScheme(), MLEM.Textures.TextureRegion, Integer()) name.vb: New(String, String, Integer, Dictionary(Of Point, TextureRegion), Point, Integer(), ColorScheme(), TextureRegion, Integer()) -- uid: TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Single,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Color}) - commentId: M:TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Single,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Color}) - id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Single,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Color}) +- uid: TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + commentId: M:TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) + id: Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,TinyLife.World.WallMode,System.Boolean,System.Boolean,System.Single,System.Boolean,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) parent: TinyLife.World.Wallpaper langs: - csharp - vb - name: Draw(GameTime, SpriteBatch, Vector2, WallMode, bool, bool, float, float, bool, Color?) - nameWithType: Wallpaper.Draw(GameTime, SpriteBatch, Vector2, WallMode, bool, bool, float, float, bool, Color?) - fullName: TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, TinyLife.World.WallMode, bool, bool, float, float, bool, Microsoft.Xna.Framework.Color?) + name: Draw(GameTime, SpriteBatch, Map, Point, Point, int, Vector2, WallMode, bool, bool, float, bool, float, Color?) + nameWithType: Wallpaper.Draw(GameTime, SpriteBatch, Map, Point, Point, int, Vector2, WallMode, bool, bool, float, bool, float, Color?) + fullName: TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point, int, Microsoft.Xna.Framework.Vector2, TinyLife.World.WallMode, bool, bool, float, bool, float, Microsoft.Xna.Framework.Color?) type: Method source: remote: @@ -420,14 +420,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: ../TinyLife/World/Wallpaper.cs - startLine: 125 + startLine: 126 assemblies: - Tiny Life namespace: TinyLife.World summary: "\nDraws this wallpaper on the given wall with the given data.\n" example: [] syntax: - content: public virtual void Draw(GameTime time, SpriteBatch batch, Vector2 drawPos, WallMode mode, bool isDown, bool vertical, float scale, float depth, bool shadow, Color? overrideColor = null) + content: public virtual void Draw(GameTime time, SpriteBatch batch, Map map, Point pos1, Point pos2, int floor, Vector2 drawPos, WallMode mode, bool isDown, bool vertical, float scale, bool shadow, float depthOffset = 0, Color? overrideColor = null) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -435,6 +435,14 @@ items: - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch description: The sprite batch used for rendering + - id: map + type: TinyLife.World.Map + - id: pos1 + type: Microsoft.Xna.Framework.Point + - id: pos2 + type: Microsoft.Xna.Framework.Point + - id: floor + type: System.Int32 - id: drawPos type: Microsoft.Xna.Framework.Vector2 description: The position, in screen coordinates, that the wall should be drawn at @@ -450,30 +458,29 @@ items: - id: scale type: System.Single description: The scale that the wall should be rendered with - - id: depth - type: System.Single - description: The depth that the wall should be rendered with - id: shadow type: System.Boolean description: Whether or not the shadow texture should be applied on top of the texture + - id: depthOffset + type: System.Single - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} description: A color that this object should be rendered with, instead of its default color - content.vb: Public Overridable Sub Draw(time As GameTime, batch As SpriteBatch, drawPos As Vector2, mode As WallMode, isDown As Boolean, vertical As Boolean, scale As Single, depth As Single, shadow As Boolean, overrideColor As Color? = Nothing) + content.vb: Public Overridable Sub Draw(time As GameTime, batch As SpriteBatch, map As Map, pos1 As Point, pos2 As Point, floor As Integer, drawPos As Vector2, mode As WallMode, isDown As Boolean, vertical As Boolean, scale As Single, shadow As Boolean, depthOffset As Single = 0, overrideColor As Color? = Nothing) overload: TinyLife.World.Wallpaper.Draw* - nameWithType.vb: Wallpaper.Draw(GameTime, SpriteBatch, Vector2, WallMode, Boolean, Boolean, Single, Single, Boolean, Color?) - fullName.vb: TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, TinyLife.World.WallMode, Boolean, Boolean, Single, Single, Boolean, Microsoft.Xna.Framework.Color?) - name.vb: Draw(GameTime, SpriteBatch, Vector2, WallMode, Boolean, Boolean, Single, Single, Boolean, Color?) -- uid: TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Single) - commentId: M:TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Single) - id: DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,System.Single) + nameWithType.vb: Wallpaper.Draw(GameTime, SpriteBatch, Map, Point, Point, Integer, Vector2, WallMode, Boolean, Boolean, Single, Boolean, Single, Color?) + fullName.vb: TinyLife.World.Wallpaper.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch, TinyLife.World.Map, Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point, Integer, Microsoft.Xna.Framework.Vector2, TinyLife.World.WallMode, Boolean, Boolean, Single, Boolean, Single, Microsoft.Xna.Framework.Color?) + name.vb: Draw(GameTime, SpriteBatch, Map, Point, Point, Integer, Vector2, WallMode, Boolean, Boolean, Single, Boolean, Single, Color?) +- uid: TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Single) + commentId: M:TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Single) + id: DrawUi(MLEM.Ui.Elements.Element,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.GameTime,TinyLife.World.Map,System.Single) parent: TinyLife.World.Wallpaper langs: - csharp - vb - name: DrawUi(Element, SpriteBatch, GameTime, float) - nameWithType: Wallpaper.DrawUi(Element, SpriteBatch, GameTime, float) - fullName: TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, float) + name: DrawUi(Element, SpriteBatch, GameTime, Map, float) + nameWithType: Wallpaper.DrawUi(Element, SpriteBatch, GameTime, Map, float) + fullName: TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, TinyLife.World.Map, float) type: Method source: remote: @@ -482,14 +489,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawUi path: ../TinyLife/World/Wallpaper.cs - startLine: 146 + startLine: 154 assemblies: - Tiny Life namespace: TinyLife.World summary: "\nDraws this wallpaper on the given in ui space\n" example: [] syntax: - content: public virtual void DrawUi(Element e, SpriteBatch batch, GameTime time, float drawScale = 0.3) + content: public virtual void DrawUi(Element e, SpriteBatch batch, GameTime time, Map map, float drawScale) parameters: - id: e type: MLEM.Ui.Elements.Element @@ -500,14 +507,16 @@ items: - id: time type: Microsoft.Xna.Framework.GameTime description: The current game time + - id: map + type: TinyLife.World.Map - id: drawScale type: System.Single - description: The scale to draw with. Defaults to 0.3. - content.vb: Public Overridable Sub DrawUi(e As Element, batch As SpriteBatch, time As GameTime, drawScale As Single = 0.3) + description: The scale to draw with. + content.vb: Public Overridable Sub DrawUi(e As Element, batch As SpriteBatch, time As GameTime, map As Map, drawScale As Single) overload: TinyLife.World.Wallpaper.DrawUi* - nameWithType.vb: Wallpaper.DrawUi(Element, SpriteBatch, GameTime, Single) - fullName.vb: TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, Single) - name.vb: DrawUi(Element, SpriteBatch, GameTime, Single) + nameWithType.vb: Wallpaper.DrawUi(Element, SpriteBatch, GameTime, Map, Single) + fullName.vb: TinyLife.World.Wallpaper.DrawUi(MLEM.Ui.Elements.Element, Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.GameTime, TinyLife.World.Map, Single) + name.vb: DrawUi(Element, SpriteBatch, GameTime, Map, Single) - uid: TinyLife.World.Wallpaper.GetPrice commentId: M:TinyLife.World.Wallpaper.GetPrice id: GetPrice @@ -526,7 +535,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPrice path: ../TinyLife/World/Wallpaper.cs - startLine: 157 + startLine: 165 assemblies: - Tiny Life namespace: TinyLife.World @@ -557,7 +566,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/World/Wallpaper.cs - startLine: 173 + startLine: 181 assemblies: - Tiny Life namespace: TinyLife.World @@ -613,7 +622,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/World/Wallpaper.cs - startLine: 190 + startLine: 198 assemblies: - Tiny Life namespace: TinyLife.World @@ -1682,6 +1691,12 @@ references: name: SpriteBatch nameWithType: SpriteBatch fullName: Microsoft.Xna.Framework.Graphics.SpriteBatch +- uid: TinyLife.World.Map + commentId: T:TinyLife.World.Map + parent: TinyLife.World + name: Map + nameWithType: Map + fullName: TinyLife.World.Map - uid: Microsoft.Xna.Framework.Vector2 commentId: T:Microsoft.Xna.Framework.Vector2 parent: Microsoft.Xna.Framework diff --git a/docs/api/TinyLife.World.WaterTile.yml b/docs/api/TinyLife.World.WaterTile.yml index 74f560b..3bf40bd 100644 --- a/docs/api/TinyLife.World.WaterTile.yml +++ b/docs/api/TinyLife.World.WaterTile.yml @@ -59,10 +59,11 @@ items: - TinyLife.World.Tile.GetPrice - TinyLife.World.Tile.GetAutoTileBorder(TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Point,TinyLife.World.Tile) - TinyLife.World.Tile.GetVariationTexture(MLEM.Misc.Direction2,Microsoft.Xna.Framework.Point) - - TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme,System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Nullable{System.Int32},System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) - TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme[],System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Int32[],System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) - TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point[],TinyLife.Utilities.ColorScheme[],System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,Microsoft.Xna.Framework.Point[]},System.Int32[],System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) + - TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + - TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -155,7 +156,7 @@ items: summary: "\nDraws this tile at the given position in the world using a or \n" example: [] syntax: - content: public override bool Draw(GameTime time, object batch, Map map, Point pos, int floor, Vector2 drawPos, float depth, float scale, ICollection items, bool hasStaticContext) + content: public override bool Draw(GameTime time, object batch, Map map, Point pos, int floor, Vector2 drawPos, float scale, float depthOffset, ICollection items, bool hasStaticContext) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -175,12 +176,11 @@ items: - id: drawPos type: Microsoft.Xna.Framework.Vector2 description: The position, in screen space, to draw at. - - id: depth - type: System.Single - description: The depth to use for drawing. - id: scale type: System.Single description: The scale to draw the tile with. + - id: depthOffset + type: System.Single - id: items type: System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item} description: The collection that added items can optionally be added to. @@ -190,7 +190,7 @@ items: return: type: System.Boolean description: Whether this tile was fully drawn. If the batch is a and false is returned, this tile will be marked as an animated tile, causing it to draw every frame. - content.vb: Public Overrides Function Draw(time As GameTime, batch As Object, map As Map, pos As Point, floor As Integer, drawPos As Vector2, depth As Single, scale As Single, items As ICollection(Of StaticSpriteBatch.Item), hasStaticContext As Boolean) As Boolean + content.vb: Public Overrides Function Draw(time As GameTime, batch As Object, map As Map, pos As Point, floor As Integer, drawPos As Vector2, scale As Single, depthOffset As Single, items As ICollection(Of StaticSpriteBatch.Item), hasStaticContext As Boolean) As Boolean overridden: TinyLife.World.AutoTile.Draw(Microsoft.Xna.Framework.GameTime,System.Object,TinyLife.World.Map,Microsoft.Xna.Framework.Point,System.Int32,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item},System.Boolean) overload: TinyLife.World.WaterTile.Draw* nameWithType.vb: WaterTile.Draw(GameTime, Object, Map, Point, Integer, Vector2, Single, Single, ICollection(Of StaticSpriteBatch.Item), Boolean) @@ -214,7 +214,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ConnectsToTile path: ../TinyLife/World/WaterTile.cs - startLine: 42 + startLine: 43 assemblies: - Tiny Life namespace: TinyLife.World @@ -809,57 +809,6 @@ references: name: Point isExternal: true - name: ) -- uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - commentId: M:TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - parent: TinyLife.World.Tile - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - name: GetVisualOffset(Direction2, int, int) - nameWithType: Tile.GetVisualOffset(Direction2, int, int) - fullName: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, int, int) - nameWithType.vb: Tile.GetVisualOffset(Direction2, Integer, Integer) - fullName.vb: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, Integer, Integer) - name.vb: GetVisualOffset(Direction2, Integer, Integer) - spec.csharp: - - uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - name: GetVisualOffset - - name: ( - - uid: MLEM.Misc.Direction2 - name: Direction2 - isExternal: true - - name: ',' - - name: " " - - uid: System.Int32 - name: int - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - - name: ',' - - name: " " - - uid: System.Int32 - name: int - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - - name: ) - spec.vb: - - uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) - name: GetVisualOffset - - name: ( - - uid: MLEM.Misc.Direction2 - name: Direction2 - isExternal: true - - name: ',' - - name: " " - - uid: System.Int32 - name: Integer - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - - name: ',' - - name: " " - - uid: System.Int32 - name: Integer - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - - name: ) - uid: TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme,System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Nullable{System.Int32},System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) commentId: M:TinyLife.World.Tile.Register(System.String,System.Int32,System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point,TinyLife.Utilities.ColorScheme,System.Single,System.Boolean,TinyLife.World.Tile.Category,MLEM.Textures.TextureRegion,System.Func{MLEM.Misc.Direction2,System.Nullable{Microsoft.Xna.Framework.Point}},System.Nullable{System.Int32},System.Func{Microsoft.Xna.Framework.Point,System.Single},System.Type) parent: TinyLife.World.Tile @@ -1577,6 +1526,128 @@ references: isExternal: true href: https://learn.microsoft.com/dotnet/api/system.type - name: ) +- uid: TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + commentId: M:TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + parent: TinyLife.World.Tile + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + name: GetDepth(Map, Vector2, float, float, bool) + nameWithType: Tile.GetDepth(Map, Vector2, float, float, bool) + fullName: TinyLife.World.Tile.GetDepth(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2, float, float, bool) + nameWithType.vb: Tile.GetDepth(Map, Vector2, Single, Single, Boolean) + fullName.vb: TinyLife.World.Tile.GetDepth(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2, Single, Single, Boolean) + name.vb: GetDepth(Map, Vector2, Single, Single, Boolean) + spec.csharp: + - uid: TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + name: GetDepth + - name: ( + - uid: TinyLife.World.Map + name: Map + - name: ',' + - name: " " + - uid: Microsoft.Xna.Framework.Vector2 + name: Vector2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Single + name: float + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + - name: ',' + - name: " " + - uid: System.Single + name: float + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + - name: ',' + - name: " " + - uid: System.Boolean + name: bool + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.boolean + - name: ) + spec.vb: + - uid: TinyLife.World.Tile.GetDepth(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Boolean) + name: GetDepth + - name: ( + - uid: TinyLife.World.Map + name: Map + - name: ',' + - name: " " + - uid: Microsoft.Xna.Framework.Vector2 + name: Vector2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Single + name: Single + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + - name: ',' + - name: " " + - uid: System.Single + name: Single + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + - name: ',' + - name: " " + - uid: System.Boolean + name: Boolean + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.boolean + - name: ) +- uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + commentId: M:TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + parent: TinyLife.World.Tile + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + name: GetVisualOffset(Direction2, int, int) + nameWithType: Tile.GetVisualOffset(Direction2, int, int) + fullName: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, int, int) + nameWithType.vb: Tile.GetVisualOffset(Direction2, Integer, Integer) + fullName.vb: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2, Integer, Integer) + name.vb: GetVisualOffset(Direction2, Integer, Integer) + spec.csharp: + - uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + name: GetVisualOffset + - name: ( + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Int32 + name: int + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ',' + - name: " " + - uid: System.Int32 + name: int + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ) + spec.vb: + - uid: TinyLife.World.Tile.GetVisualOffset(MLEM.Misc.Direction2,System.Int32,System.Int32) + name: GetVisualOffset + - name: ( + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: ',' + - name: " " + - uid: System.Int32 + name: Integer + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ',' + - name: " " + - uid: System.Int32 + name: Integer + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ) - uid: System.Object.Equals(System.Object) commentId: M:System.Object.Equals(System.Object) parent: System.Object