TinyLifeWeb/docs/api/TinyLife.World.UpdateDelegate.yml

240 lines
6.7 KiB
YAML
Raw Normal View History

2021-08-04 06:51:12 +02:00
### 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
2023-03-30 18:07:55 +02:00
branch: main
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: UpdateDelegate
2022-03-09 16:13:05 +01:00
path: ../TinyLife/World/Map.cs
2023-07-20 14:27:20 +02:00
startLine: 2740
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated\n"
example: []
syntax:
2023-03-30 18:07:55 +02:00
content: public delegate void UpdateDelegate(GameTime time, TimeSpan passedInGame, float speedMultiplier, EventPhase phase)
2021-08-04 06:51:12 +02:00
parameters:
- id: time
2022-09-05 14:19:42 +02:00
type: Microsoft.Xna.Framework.GameTime
2021-08-04 06:51:12 +02:00
description: The game's current time
- id: passedInGame
type: System.TimeSpan
description: The amount of time that has passed, in in-game time
2021-11-26 23:42:22 +01:00
- 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>
2021-08-04 06:51:12 +02:00
- id: phase
type: TinyLife.Mods.EventPhase
description: The <xref href="TinyLife.Mods.EventPhase" data-throw-if-not-resolved="false"></xref> of this event
2021-11-26 23:42:22 +01:00
content.vb: Public Delegate Sub UpdateDelegate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single, phase As EventPhase)
2021-08-04 06:51:12 +02:00
extensionMethods:
- TinyLife.World.UpdateDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references:
2021-11-26 23:42:22 +01:00
- uid: TinyLife.GameImpl.Speed
commentId: P:TinyLife.GameImpl.Speed
2023-03-30 18:07:55 +02:00
name: Speed
nameWithType: GameImpl.Speed
fullName: TinyLife.GameImpl.Speed
2021-08-04 06:51:12 +02:00
- 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
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.World
name: World
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.World
name: World
2021-08-04 06:51:12 +02:00
- 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)
2023-03-30 18:07:55 +02:00
name: JsonCopy<UpdateDelegate>(UpdateDelegate)
nameWithType: Extensions.JsonCopy<UpdateDelegate>(UpdateDelegate)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.World.UpdateDelegate>(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)
2021-08-04 06:51:12 +02:00
spec.csharp:
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.UpdateDelegate)
name: JsonCopy
- name: <
- uid: TinyLife.World.UpdateDelegate
name: UpdateDelegate
- name: '>'
2021-08-04 06:51:12 +02:00
- name: (
2023-03-30 18:07:55 +02:00
- uid: TinyLife.World.UpdateDelegate
name: UpdateDelegate
2021-08-04 06:51:12 +02:00
- name: )
spec.vb:
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.World.UpdateDelegate)
name: JsonCopy
- name: (
- name: Of
- name: " "
- uid: TinyLife.World.UpdateDelegate
name: UpdateDelegate
- name: )
2021-08-04 06:51:12 +02:00
- name: (
2023-03-30 18:07:55 +02:00
- uid: TinyLife.World.UpdateDelegate
name: UpdateDelegate
2021-08-04 06:51:12 +02:00
- name: )
2022-09-05 14:19:42 +02:00
- uid: Microsoft.Xna.Framework.GameTime
commentId: T:Microsoft.Xna.Framework.GameTime
parent: Microsoft.Xna.Framework
2021-08-04 06:51:12 +02:00
isExternal: true
name: GameTime
nameWithType: GameTime
2022-09-05 14:19:42 +02:00
fullName: Microsoft.Xna.Framework.GameTime
2021-08-04 06:51:12 +02:00
- uid: System.TimeSpan
commentId: T:System.TimeSpan
parent: System
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.timespan
2021-08-04 06:51:12 +02:00
name: TimeSpan
nameWithType: TimeSpan
fullName: System.TimeSpan
2021-11-26 23:42:22 +01:00
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.single
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Mods
commentId: N:TinyLife.Mods
name: TinyLife.Mods
nameWithType: TinyLife.Mods
fullName: TinyLife.Mods
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
2021-08-04 06:51:12 +02:00
- 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)
2023-03-30 18:07:55 +02:00
name: JsonCopy
- name: <
- name: T
- name: '>'
2021-08-04 06:51:12 +02:00
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2023-03-30 18:07:55 +02:00
name: JsonCopy
- name: (
- name: Of
- name: " "
- name: T
- name: )
2021-08-04 06:51:12 +02:00
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
2022-09-05 14:19:42 +02:00
- uid: Microsoft.Xna.Framework
commentId: N:Microsoft.Xna.Framework
isExternal: true
name: Microsoft.Xna.Framework
nameWithType: Microsoft.Xna.Framework
fullName: Microsoft.Xna.Framework
2023-03-30 18:07:55 +02:00
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
2021-08-04 06:51:12 +02:00
- uid: System
commentId: N:System
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system
2021-08-04 06:51:12 +02:00
name: System
nameWithType: System
fullName: System
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities