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

184 lines
5.8 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
2022-05-24 13:36:05 +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
2022-11-12 13:53:28 +01:00
startLine: 2241
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:
2021-11-26 23:42:22 +01: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
modifiers.csharp:
- public
- delegate
modifiers.vb:
- Public
- Delegate
references:
2021-11-26 23:42:22 +01:00
- uid: TinyLife.GameImpl.Speed
commentId: P:TinyLife.GameImpl.Speed
isExternal: true
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
- 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: )
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
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
name: Single
nameWithType: Single
fullName: System.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
- 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
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
2021-08-04 06:51:12 +02:00
- 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