### YamlMime:ManagedReference
items:
- uid: TinyLife.World.UpdateDelegate
commentId: T:TinyLife.World.UpdateDelegate
id: UpdateDelegate
parent: TinyLife.World
children: []
langs:
- csharp
- vb
name: UpdateDelegate
nameWithType: UpdateDelegate
fullName: TinyLife.World.UpdateDelegate
type: Delegate
source:
remote:
path: TinyLife/World/Map.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateDelegate
path: ../TinyLife/World/Map.cs
startLine: 2740
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated\n"
example: []
syntax:
content: public delegate void UpdateDelegate(GameTime time, TimeSpan passedInGame, float speedMultiplier, EventPhase phase)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
description: The game's current time
- id: passedInGame
type: System.TimeSpan
description: The amount of time that has passed, in in-game time
- id: speedMultiplier
type: System.Single
description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
- id: phase
type: TinyLife.Mods.EventPhase
description: The of this event
content.vb: Public Delegate Sub UpdateDelegate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single, phase As EventPhase)
extensionMethods:
- TinyLife.World.UpdateDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
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
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: TinyLife.World.UpdateDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy(UpdateDelegate)
nameWithType: Extensions.JsonCopy(UpdateDelegate)
fullName: TinyLife.Utilities.Extensions.JsonCopy(TinyLife.World.UpdateDelegate)
nameWithType.vb: Extensions.JsonCopy(Of UpdateDelegate)(UpdateDelegate)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.World.UpdateDelegate)(TinyLife.World.UpdateDelegate)
name.vb: JsonCopy(Of UpdateDelegate)(UpdateDelegate)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.UpdateDelegate)
name: JsonCopy
- name: <
- uid: TinyLife.World.UpdateDelegate
name: UpdateDelegate
- name: '>'
- name: (
- uid: TinyLife.World.UpdateDelegate
name: UpdateDelegate
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.UpdateDelegate)
name: JsonCopy
- name: (
- name: Of
- name: " "
- uid: TinyLife.World.UpdateDelegate
name: UpdateDelegate
- name: )
- name: (
- uid: TinyLife.World.UpdateDelegate
name: UpdateDelegate
- name: )
- uid: Microsoft.Xna.Framework.GameTime
commentId: T:Microsoft.Xna.Framework.GameTime
parent: Microsoft.Xna.Framework
isExternal: true
name: GameTime
nameWithType: GameTime
fullName: Microsoft.Xna.Framework.GameTime
- uid: System.TimeSpan
commentId: T:System.TimeSpan
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.timespan
name: TimeSpan
nameWithType: TimeSpan
fullName: System.TimeSpan
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
- 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.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy(T)
nameWithType: Extensions.JsonCopy(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: Microsoft.Xna.Framework
commentId: N:Microsoft.Xna.Framework
isExternal: true
name: Microsoft.Xna.Framework
nameWithType: Microsoft.Xna.Framework
fullName: Microsoft.Xna.Framework
spec.csharp:
- uid: Microsoft
name: Microsoft
isExternal: true
- name: .
- uid: Microsoft.Xna
name: Xna
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework
name: Framework
isExternal: true
spec.vb:
- uid: Microsoft
name: Microsoft
isExternal: true
- name: .
- uid: Microsoft.Xna
name: Xna
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework
name: Framework
isExternal: true
- uid: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities