TinyLifeWeb/docs/api/TinyLife.World.UpdateDelegate.yml
2022-05-24 21:47:31 +02:00

184 lines
5.8 KiB
YAML

### 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: 2093
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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
- id: phase
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)
extensionMethods:
- TinyLife.World.UpdateDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
modifiers.csharp:
- public
- delegate
modifiers.vb:
- Public
- Delegate
references:
- uid: TinyLife.GameImpl.Speed
commentId: P:TinyLife.GameImpl.Speed
isExternal: true
- 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
- 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)()
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.World.UpdateDelegate)()
name.vb: JsonCopy(Of UpdateDelegate)()
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1
name: JsonCopy<UpdateDelegate>
nameWithType: Extensions.JsonCopy<UpdateDelegate>
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.World.UpdateDelegate>
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1
name: JsonCopy(Of UpdateDelegate)
nameWithType: Extensions.JsonCopy(Of UpdateDelegate)
fullName: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.World.UpdateDelegate)
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- 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
name: TimeSpan
nameWithType: TimeSpan
fullName: System.TimeSpan
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
name: Single
nameWithType: Single
fullName: System.Single
- uid: TinyLife.Mods
commentId: N:TinyLife.Mods
name: TinyLife.Mods
nameWithType: TinyLife.Mods
fullName: TinyLife.Mods
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(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<T>
nameWithType: Extensions.JsonCopy<T>
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>
- name: (
nameWithType: (
fullName: (
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy(Of T)
nameWithType: Extensions.JsonCopy(Of T)
fullName: TinyLife.Utilities.Extensions.JsonCopy(Of T)
- name: (
nameWithType: (
fullName: (
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
- 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
- uid: System
commentId: N:System
isExternal: true
name: System
nameWithType: System
fullName: System
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities