This commit is contained in:
Ell 2023-08-01 14:10:37 +02:00
parent b164127e63
commit 93360248fb
14 changed files with 212 additions and 160 deletions

View file

@ -1,3 +1,12 @@
# 0.35.3
*August 1, 2023*
Fixes
- Fixed an exception when loading very old saves, or saves with corrupted options
- Fixed being able to open the world switch menu using a gamepad when only one world is present
- Fixed a crash when a Tiny dies in another world
- Fixed a rare exception when trying to visit a lot in another world
# 0.35.2 # 0.35.2
*July 28, 2023* *July 28, 2023*

View file

@ -237,7 +237,7 @@ items:
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
summary: "\nThe <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref> that this action&apos;s action object, action wall and other key action components are expected to be on. This is essentially the map that the <xref href=\"TinyLife.Actions.ActionInfo.Person\" data-throw-if-not-resolved=\"false\"></xref> should do most of the action on.\nIf no explicit goal map is present, <xref href=\"TinyLife.Actions.ActionInfo.CurrentMap\" data-throw-if-not-resolved=\"false\"></xref> is returned.\n" summary: "\nThe <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref> that this action&apos;s action object, action wall and other key action components are expected to be on. This is essentially the map that the <xref href=\"TinyLife.Actions.ActionInfo.Person\" data-throw-if-not-resolved=\"false\"></xref> should do most of the action on.\nIf no explicit goal map is stored, <xref href=\"TinyLife.Actions.ActionInfo.CurrentMap\" data-throw-if-not-resolved=\"false\"></xref> is returned.\n"
example: [] example: []
syntax: syntax:
content: public Map GoalMap { get; set; } content: public Map GoalMap { get; set; }
@ -440,7 +440,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddAuxiliaryObject id: AddAuxiliaryObject
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 146 startLine: 147
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -477,7 +477,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetInvolvedObjects id: GetInvolvedObjects
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 167 startLine: 168
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -524,7 +524,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetInvolvedObject id: GetInvolvedObject
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 186 startLine: 187
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -574,7 +574,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetInvolvedActionSpot id: GetInvolvedActionSpot
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 205 startLine: 206
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -609,7 +609,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToFreeActionSpot id: ToFreeActionSpot
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 226 startLine: 227
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -644,7 +644,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetInvolvedObjectIds id: GetInvolvedObjectIds
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 238 startLine: 239
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -675,7 +675,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate id: Validate
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 254 startLine: 255
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -709,7 +709,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromLocation id: FromLocation
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 328 startLine: 329
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -750,7 +750,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromLocation id: FromLocation
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 340 startLine: 341
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -791,7 +791,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromObjectGeneric id: FromObjectGeneric
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 352 startLine: 353
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -835,7 +835,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromObjectGeneric id: FromObjectGeneric
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 362 startLine: 363
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -873,7 +873,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromSelf id: FromSelf
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 371 startLine: 372
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions
@ -908,7 +908,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromActionInfo id: FromActionInfo
path: ../TinyLife/Actions/ActionInfo.cs path: ../TinyLife/Actions/ActionInfo.cs
startLine: 382 startLine: 383
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Actions namespace: TinyLife.Actions

View file

@ -24,7 +24,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GameSpeed id: GameSpeed
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 597 startLine: 598
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -53,7 +53,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Paused id: Paused
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 602 startLine: 603
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -81,7 +81,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Regular id: Regular
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 606 startLine: 607
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -109,7 +109,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fast id: Fast
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 610 startLine: 611
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -137,7 +137,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VeryFast id: VeryFast
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 614 startLine: 615
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -165,7 +165,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ExtremelyFast id: ExtremelyFast
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 619 startLine: 620
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife

View file

@ -85,10 +85,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AmbientFallingLeaves id: AmbientFallingLeaves
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 22 startLine: 27
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
summary: "\nA set of conditions for <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref> instances that should optionally display the falling leaves particles that default trees do.\nThe minimum and maximum spawn heights and horizontal coordinates are in relation to the furniture&apos;s position in the world, with all offsets being multiplied by <xref href=\"TinyLife.World.Tile.Width\" data-throw-if-not-resolved=\"false\"></xref> or <xref href=\"TinyLife.World.Tile.Height\" data-throw-if-not-resolved=\"false\"></xref>.\nTo add additional furniture that displays falling leaves, simply add to this collection.\n"
example: []
syntax: syntax:
content: public static readonly Dictionary<FurnitureType, (float MinSpawnHeight, float MaxSpawnHeight, float MinSpawnX, float MaxSpawnX, float Chance)> AmbientFallingLeaves content: public static readonly Dictionary<FurnitureType, (float MinSpawnHeight, float MaxSpawnHeight, float MinSpawnX, float MaxSpawnX, float Chance)> AmbientFallingLeaves
return: return:
@ -112,10 +114,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnParticleUpdate id: OnParticleUpdate
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 29 startLine: 37
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
summary: "\nAn event that is raised when a <xref href=\"TinyLife.Objects.Particle\" data-throw-if-not-resolved=\"false\"></xref> is updated in <xref href=\"TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax: syntax:
content: public static event ObjectUpdateDelegate<Particle> OnParticleUpdate content: public static event ObjectUpdateDelegate<Particle> OnParticleUpdate
return: return:
@ -139,7 +143,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Friction id: Friction
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 38 startLine: 46
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -168,7 +172,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TimeToLive id: TimeToLive
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 42 startLine: 50
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -197,7 +201,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Position id: Position
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 46 startLine: 54
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -226,7 +230,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Motion id: Motion
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 50 startLine: 58
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -255,7 +259,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DepthPosOffset id: DepthPosOffset
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 54 startLine: 62
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -284,7 +288,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DepthOffset id: DepthOffset
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 58 startLine: 66
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -313,7 +317,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawOffset id: DrawOffset
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 62 startLine: 70
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -342,7 +346,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scale id: Scale
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 66 startLine: 74
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -371,7 +375,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Gravity id: Gravity
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 70 startLine: 78
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -400,7 +404,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CameraMotion id: CameraMotion
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 76 startLine: 84
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -429,7 +433,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CameraOffset id: CameraOffset
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 81 startLine: 89
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -458,7 +462,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentInfo id: ParentInfo
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 85 startLine: 93
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -487,7 +491,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IgnoreParentDrawPos id: IgnoreParentDrawPos
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 89 startLine: 97
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -516,7 +520,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateWhenPaused id: UpdateWhenPaused
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 94 startLine: 102
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -545,7 +549,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Color id: Color
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 98 startLine: 106
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -574,7 +578,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpriteEffects id: SpriteEffects
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 102 startLine: 110
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -603,7 +607,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ForceOutside id: ForceOutside
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 107 startLine: 115
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -632,10 +636,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnUpdate id: OnUpdate
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 108 startLine: 120
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
summary: "\nAn event that is raised when this particle is updated in <xref href=\"TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that <xref href=\"TinyLife.Objects.Particle.OnParticleUpdate\" data-throw-if-not-resolved=\"false\"></xref> is invoked for all particles, whereas this event is just invoked for this particle.\n"
example: []
syntax: syntax:
content: public ObjectUpdateDelegateNoPhase<Particle> OnUpdate content: public ObjectUpdateDelegateNoPhase<Particle> OnUpdate
return: return:
@ -659,7 +665,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Animation id: Animation
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 113 startLine: 125
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -688,7 +694,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TimeLived id: TimeLived
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 118 startLine: 130
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -717,7 +723,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor id: .ctor
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 126 startLine: 138
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -758,7 +764,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor id: .ctor
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 135 startLine: 147
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -799,7 +805,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Update id: Update
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 147 startLine: 159
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -840,7 +846,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw id: Draw
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 178 startLine: 190
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -875,7 +881,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Spawn id: Spawn
path: ../TinyLife/Objects/Particle.cs path: ../TinyLife/Objects/Particle.cs
startLine: 195 startLine: 207
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
@ -1339,6 +1345,24 @@ references:
- name: . - name: .
- uid: TinyLife.Utilities - uid: TinyLife.Utilities
name: Utilities name: Utilities
- uid: TinyLife.Objects.FurnitureType
commentId: T:TinyLife.Objects.FurnitureType
parent: TinyLife.Objects
name: FurnitureType
nameWithType: FurnitureType
fullName: TinyLife.Objects.FurnitureType
- uid: TinyLife.World.Tile.Width
commentId: P:TinyLife.World.Tile.Width
parent: TinyLife.World.Tile
name: Width
nameWithType: Tile.Width
fullName: TinyLife.World.Tile.Width
- uid: TinyLife.World.Tile.Height
commentId: P:TinyLife.World.Tile.Height
parent: TinyLife.World.Tile
name: Height
nameWithType: Tile.Height
fullName: TinyLife.World.Tile.Height
- uid: System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}} - uid: System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}}
commentId: T:System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}} commentId: T:System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}}
parent: System.Collections.Generic parent: System.Collections.Generic
@ -1484,6 +1508,12 @@ references:
href: https://learn.microsoft.com/dotnet/api/system.single href: https://learn.microsoft.com/dotnet/api/system.single
- name: ) - name: )
- name: ) - name: )
- uid: TinyLife.World.Tile
commentId: T:TinyLife.World.Tile
parent: TinyLife.World
name: Tile
nameWithType: Tile
fullName: TinyLife.World.Tile
- uid: System.Collections.Generic.Dictionary`2 - uid: System.Collections.Generic.Dictionary`2
commentId: T:System.Collections.Generic.Dictionary`2 commentId: T:System.Collections.Generic.Dictionary`2
isExternal: true isExternal: true
@ -1555,54 +1585,6 @@ references:
name: Generic name: Generic
isExternal: true isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic href: https://learn.microsoft.com/dotnet/api/system.collections.generic
- uid: TinyLife.World.ObjectUpdateDelegate{TinyLife.Objects.Particle}
commentId: T:TinyLife.World.ObjectUpdateDelegate{TinyLife.Objects.Particle}
parent: TinyLife.World
definition: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate<Particle>
nameWithType: ObjectUpdateDelegate<Particle>
fullName: TinyLife.World.ObjectUpdateDelegate<TinyLife.Objects.Particle>
nameWithType.vb: ObjectUpdateDelegate(Of Particle)
fullName.vb: TinyLife.World.ObjectUpdateDelegate(Of TinyLife.Objects.Particle)
name.vb: ObjectUpdateDelegate(Of Particle)
spec.csharp:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: <
- uid: TinyLife.Objects.Particle
name: Particle
- name: '>'
spec.vb:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.Particle
name: Particle
- name: )
- uid: TinyLife.World.ObjectUpdateDelegate`1
commentId: T:TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate<T>
nameWithType: ObjectUpdateDelegate<T>
fullName: TinyLife.World.ObjectUpdateDelegate<T>
nameWithType.vb: ObjectUpdateDelegate(Of T)
fullName.vb: TinyLife.World.ObjectUpdateDelegate(Of T)
name.vb: ObjectUpdateDelegate(Of T)
spec.csharp:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: <
- name: T
- name: '>'
spec.vb:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: TinyLife.World - uid: TinyLife.World
commentId: N:TinyLife.World commentId: N:TinyLife.World
name: TinyLife.World name: TinyLife.World
@ -1620,11 +1602,11 @@ references:
- name: . - name: .
- uid: TinyLife.World - uid: TinyLife.World
name: World name: World
- uid: TinyLife.Objects.Particle.Motion - uid: TinyLife.Objects.Particle
commentId: F:TinyLife.Objects.Particle.Motion commentId: T:TinyLife.Objects.Particle
name: Motion name: Particle
nameWithType: Particle.Motion nameWithType: Particle
fullName: TinyLife.Objects.Particle.Motion fullName: TinyLife.Objects.Particle
- uid: TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) - uid: TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
commentId: M:TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) commentId: M:TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
isExternal: true isExternal: true
@ -1675,6 +1657,59 @@ references:
isExternal: true isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single href: https://learn.microsoft.com/dotnet/api/system.single
- name: ) - name: )
- uid: TinyLife.World.ObjectUpdateDelegate{TinyLife.Objects.Particle}
commentId: T:TinyLife.World.ObjectUpdateDelegate{TinyLife.Objects.Particle}
parent: TinyLife.World
definition: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate<Particle>
nameWithType: ObjectUpdateDelegate<Particle>
fullName: TinyLife.World.ObjectUpdateDelegate<TinyLife.Objects.Particle>
nameWithType.vb: ObjectUpdateDelegate(Of Particle)
fullName.vb: TinyLife.World.ObjectUpdateDelegate(Of TinyLife.Objects.Particle)
name.vb: ObjectUpdateDelegate(Of Particle)
spec.csharp:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: <
- uid: TinyLife.Objects.Particle
name: Particle
- name: '>'
spec.vb:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.Particle
name: Particle
- name: )
- uid: TinyLife.World.ObjectUpdateDelegate`1
commentId: T:TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate<T>
nameWithType: ObjectUpdateDelegate<T>
fullName: TinyLife.World.ObjectUpdateDelegate<T>
nameWithType.vb: ObjectUpdateDelegate(Of T)
fullName.vb: TinyLife.World.ObjectUpdateDelegate(Of T)
name.vb: ObjectUpdateDelegate(Of T)
spec.csharp:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: <
- name: T
- name: '>'
spec.vb:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: TinyLife.Objects.Particle.Motion
commentId: F:TinyLife.Objects.Particle.Motion
name: Motion
nameWithType: Particle.Motion
fullName: TinyLife.Objects.Particle.Motion
- uid: Microsoft.Xna.Framework.Vector2 - uid: Microsoft.Xna.Framework.Vector2
commentId: T:Microsoft.Xna.Framework.Vector2 commentId: T:Microsoft.Xna.Framework.Vector2
parent: Microsoft.Xna.Framework parent: Microsoft.Xna.Framework
@ -1970,6 +2005,11 @@ references:
- uid: Microsoft.Xna.Framework.Graphics - uid: Microsoft.Xna.Framework.Graphics
name: Graphics name: Graphics
isExternal: true isExternal: true
- uid: TinyLife.Objects.Particle.OnParticleUpdate
commentId: E:TinyLife.Objects.Particle.OnParticleUpdate
name: OnParticleUpdate
nameWithType: Particle.OnParticleUpdate
fullName: TinyLife.Objects.Particle.OnParticleUpdate
- uid: TinyLife.World.ObjectUpdateDelegateNoPhase{TinyLife.Objects.Particle} - uid: TinyLife.World.ObjectUpdateDelegateNoPhase{TinyLife.Objects.Particle}
commentId: T:TinyLife.World.ObjectUpdateDelegateNoPhase{TinyLife.Objects.Particle} commentId: T:TinyLife.World.ObjectUpdateDelegateNoPhase{TinyLife.Objects.Particle}
parent: TinyLife.World parent: TinyLife.World

View file

@ -5572,14 +5572,14 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Die id: Die
path: ../TinyLife/Objects/Person.cs path: ../TinyLife/Objects/Person.cs
startLine: 1958 startLine: 1957
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Objects namespace: TinyLife.Objects
summary: "\nCauses this person to die, removing it from the world and optionally spawning a <xref href=\"TinyLife.Objects.FurnitureType.Gravestone\" data-throw-if-not-resolved=\"false\"></xref>.\nNote thta this method&apos;s content is executed at the end of the current <xref href=\"TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref> frame, and not right away.\n" summary: "\nCauses this person to die, removing it from the world and optionally spawning a <xref href=\"TinyLife.Objects.FurnitureType.Gravestone\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: [] example: []
syntax: syntax:
content: public virtual void Die(DeathReason reason, bool createGravestone = true) content: public virtual bool Die(DeathReason reason, bool createGravestone = true)
parameters: parameters:
- id: reason - id: reason
type: TinyLife.Objects.DeathReason type: TinyLife.Objects.DeathReason
@ -5587,7 +5587,9 @@ items:
- id: createGravestone - id: createGravestone
type: System.Boolean type: System.Boolean
description: Whether or not to create a gravestone description: Whether or not to create a gravestone
content.vb: Public Overridable Sub Die(reason As DeathReason, createGravestone As Boolean = True) return:
type: System.Boolean
content.vb: Public Overridable Function Die(reason As DeathReason, createGravestone As Boolean = True) As Boolean
overload: TinyLife.Objects.Person.Die* overload: TinyLife.Objects.Person.Die*
nameWithType.vb: Person.Die(DeathReason, Boolean) nameWithType.vb: Person.Die(DeathReason, Boolean)
fullName.vb: TinyLife.Objects.Person.Die(TinyLife.Objects.DeathReason, Boolean) fullName.vb: TinyLife.Objects.Person.Die(TinyLife.Objects.DeathReason, Boolean)

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MapInfo id: MapInfo
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 568 startLine: 569
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -68,7 +68,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Name id: Name
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 573 startLine: 574
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -97,7 +97,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Custom id: Custom
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 577 startLine: 578
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -126,7 +126,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor id: .ctor
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 584 startLine: 585
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife

View file

@ -26,7 +26,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StatType id: StatType
path: ../TinyLife/Tools/PlayModeTool.cs path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1120 startLine: 1121
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Tools namespace: TinyLife.Tools
@ -55,7 +55,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Needs id: Needs
path: ../TinyLife/Tools/PlayModeTool.cs path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1123 startLine: 1124
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Tools namespace: TinyLife.Tools
@ -81,7 +81,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Emotions id: Emotions
path: ../TinyLife/Tools/PlayModeTool.cs path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1124 startLine: 1125
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Tools namespace: TinyLife.Tools
@ -107,7 +107,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Skills id: Skills
path: ../TinyLife/Tools/PlayModeTool.cs path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1125 startLine: 1126
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Tools namespace: TinyLife.Tools
@ -133,7 +133,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Relationships id: Relationships
path: ../TinyLife/Tools/PlayModeTool.cs path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1126 startLine: 1127
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Tools namespace: TinyLife.Tools
@ -159,7 +159,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Job id: Job
path: ../TinyLife/Tools/PlayModeTool.cs path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1127 startLine: 1128
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Tools namespace: TinyLife.Tools
@ -185,7 +185,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LifeGoal id: LifeGoal
path: ../TinyLife/Tools/PlayModeTool.cs path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1128 startLine: 1129
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Tools namespace: TinyLife.Tools
@ -211,7 +211,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: About id: About
path: ../TinyLife/Tools/PlayModeTool.cs path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1129 startLine: 1130
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.Tools namespace: TinyLife.Tools

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WallDisplay id: WallDisplay
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 627 startLine: 628
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -52,7 +52,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Roofs id: Roofs
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 632 startLine: 633
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -80,7 +80,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Up id: Up
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 636 startLine: 637
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Auto id: Auto
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 640 startLine: 641
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife
@ -136,7 +136,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Down id: Down
path: ../TinyLife/Options.cs path: ../TinyLife/Options.cs
startLine: 644 startLine: 645
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife namespace: TinyLife

View file

@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawDelegate id: DrawDelegate
path: ../TinyLife/World/Map.cs path: ../TinyLife/World/Map.cs
startLine: 2759 startLine: 2769
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.World namespace: TinyLife.World

View file

@ -3492,17 +3492,21 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetVisibleWorldArea id: GetVisibleWorldArea
path: ../TinyLife/World/Map.cs path: ../TinyLife/World/Map.cs
startLine: 2547 startLine: 2553
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.World namespace: TinyLife.World
summary: "\nReturns a rectangle, in world space, that encompasses all tile positions on a <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref> that are currently visible, based on the passed <code data-dev-comment-type=\"paramref\" class=\"paramref\">cameraArea</code>, which is expected to be the value of a camera&apos;s <xref href=\"MLEM.Cameras.Camera.GetVisibleRectangle\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that, due to the fact that maps are in isometric perspective, the returned rectangle contains additional tile positions in each corner of the <code data-dev-comment-type=\"paramref\" class=\"paramref\">cameraArea</code> that aren&apos;t actually visible.\n"
example: []
syntax: syntax:
content: public static RectangleF GetVisibleWorldArea(RectangleF cameraArea) content: public static RectangleF GetVisibleWorldArea(RectangleF cameraArea)
parameters: parameters:
- id: cameraArea - id: cameraArea
type: MLEM.Misc.RectangleF type: MLEM.Misc.RectangleF
description: The camera area, in camera space.
return: return:
type: MLEM.Misc.RectangleF type: MLEM.Misc.RectangleF
description: The visible area, in world space.
content.vb: Public Shared Function GetVisibleWorldArea(cameraArea As RectangleF) As RectangleF content.vb: Public Shared Function GetVisibleWorldArea(cameraArea As RectangleF) As RectangleF
overload: TinyLife.World.Map.GetVisibleWorldArea* overload: TinyLife.World.Map.GetVisibleWorldArea*
references: references:

View file

@ -19,10 +19,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObjectUpdateDelegate id: ObjectUpdateDelegate
path: ../TinyLife/World/Map.cs path: ../TinyLife/World/Map.cs
startLine: 2747 startLine: 2754
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.World namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated.\n"
example: []
syntax: syntax:
content: public delegate void ObjectUpdateDelegate<in T>(T obj, GameTime time, TimeSpan passedInGame, float speedMultiplier, EventPhase phase) content: public delegate void ObjectUpdateDelegate<in T>(T obj, GameTime time, TimeSpan passedInGame, float speedMultiplier, EventPhase phase)
parameters: parameters:

View file

@ -19,10 +19,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObjectUpdateDelegateNoPhase id: ObjectUpdateDelegateNoPhase
path: ../TinyLife/World/Map.cs path: ../TinyLife/World/Map.cs
startLine: 2749 startLine: 2759
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.World namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated.\n"
example: []
syntax: syntax:
content: public delegate void ObjectUpdateDelegateNoPhase<in T>(T obj, GameTime time, TimeSpan passedInGame, float speedMultiplier) content: public delegate void ObjectUpdateDelegateNoPhase<in T>(T obj, GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters: parameters:

View file

@ -19,42 +19,27 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateDelegate id: UpdateDelegate
path: ../TinyLife/World/Map.cs path: ../TinyLife/World/Map.cs
startLine: 2743 startLine: 2744
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.World namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated\n" summary: "\nA delegate used by events that are invoked when something is updated.\n"
example: [] example: []
syntax: syntax:
content: public delegate void UpdateDelegate(GameTime time, TimeSpan passedInGame, float speedMultiplier, EventPhase phase) content: public delegate void UpdateDelegate(GameTime time, TimeSpan passedInGame, float speedMultiplier, EventPhase phase)
parameters: parameters:
- id: time - id: time
type: Microsoft.Xna.Framework.GameTime type: Microsoft.Xna.Framework.GameTime
description: The game&apos;s current time
- id: passedInGame - id: passedInGame
type: System.TimeSpan type: System.TimeSpan
description: The amount of time that has passed, in in-game time
- id: speedMultiplier - id: speedMultiplier
type: System.Single type: System.Single
description: The game speed multiplier, which represents how fast things should happen, which is usually determined by <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
- id: phase - id: phase
type: TinyLife.Mods.EventPhase type: TinyLife.Mods.EventPhase
description: The <xref href="TinyLife.Mods.EventPhase" data-throw-if-not-resolved="false"></xref> of this event
content.vb: Public Delegate Sub UpdateDelegate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single, phase As EventPhase) content.vb: Public Delegate Sub UpdateDelegate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single, phase As EventPhase)
extensionMethods: extensionMethods:
- TinyLife.World.UpdateDelegate.TinyLife.Utilities.Extensions.JsonCopy``1 - TinyLife.World.UpdateDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references: references:
- uid: TinyLife.GameImpl.Speed
commentId: P:TinyLife.GameImpl.Speed
name: Speed
nameWithType: GameImpl.Speed
fullName: TinyLife.GameImpl.Speed
- uid: TinyLife.Mods.EventPhase
commentId: T:TinyLife.Mods.EventPhase
parent: TinyLife.Mods
name: EventPhase
nameWithType: EventPhase
fullName: TinyLife.Mods.EventPhase
- uid: TinyLife.World - uid: TinyLife.World
commentId: N:TinyLife.World commentId: N:TinyLife.World
name: TinyLife.World name: TinyLife.World
@ -132,23 +117,12 @@ references:
nameWithType.vb: Single nameWithType.vb: Single
fullName.vb: Single fullName.vb: Single
name.vb: Single name.vb: Single
- uid: TinyLife.Mods - uid: TinyLife.Mods.EventPhase
commentId: N:TinyLife.Mods commentId: T:TinyLife.Mods.EventPhase
name: TinyLife.Mods parent: TinyLife.Mods
nameWithType: TinyLife.Mods name: EventPhase
fullName: TinyLife.Mods nameWithType: EventPhase
spec.csharp: fullName: TinyLife.Mods.EventPhase
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy<T>(T) name: JsonCopy<T>(T)
@ -220,6 +194,23 @@ references:
name: System name: System
nameWithType: System nameWithType: System
fullName: System fullName: System
- uid: TinyLife.Mods
commentId: N:TinyLife.Mods
name: TinyLife.Mods
nameWithType: TinyLife.Mods
fullName: TinyLife.Mods
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
- uid: TinyLife.Utilities - uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities commentId: N:TinyLife.Utilities
name: TinyLife.Utilities name: TinyLife.Utilities

View file

@ -19,10 +19,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateDelegateNoPhase id: UpdateDelegateNoPhase
path: ../TinyLife/World/Map.cs path: ../TinyLife/World/Map.cs
startLine: 2745 startLine: 2749
assemblies: assemblies:
- Tiny Life - Tiny Life
namespace: TinyLife.World namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated.\n"
example: []
syntax: syntax:
content: public delegate void UpdateDelegateNoPhase(GameTime time, TimeSpan passedInGame, float speedMultiplier) content: public delegate void UpdateDelegateNoPhase(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters: parameters: