TinyLifeWeb/docs/api/TinyLife.Goals.IUpdatingMemory.yml

399 lines
14 KiB
YAML
Raw Normal View History

2024-09-20 13:01:26 +02:00
### YamlMime:ManagedReference
items:
- uid: TinyLife.Goals.IUpdatingMemory
commentId: T:TinyLife.Goals.IUpdatingMemory
id: IUpdatingMemory
parent: TinyLife.Goals
children:
- TinyLife.Goals.IUpdatingMemory.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
langs:
- csharp
- vb
name: IUpdatingMemory
nameWithType: IUpdatingMemory
fullName: TinyLife.Goals.IUpdatingMemory
type: Interface
assemblies:
- Tiny Life
namespace: TinyLife.Goals
2024-10-17 17:28:12 +02:00
summary: An interface that can be applied to a class that extends <xref href="TinyLife.Goals.Memory" data-throw-if-not-resolved="false"></xref> if the memory should be updated over time in <xref href="TinyLife.Objects.PersonLike.UpdateMemories(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)" data-throw-if-not-resolved="false"></xref>.
example: []
2024-09-20 13:01:26 +02:00
syntax:
content: public interface IUpdatingMemory
content.vb: Public Interface IUpdatingMemory
extensionMethods:
- TinyLife.Goals.IUpdatingMemory.TinyLife.Utilities.Extensions.JsonCopy``1
- uid: TinyLife.Goals.IUpdatingMemory.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
commentId: M:TinyLife.Goals.IUpdatingMemory.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
id: Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
parent: TinyLife.Goals.IUpdatingMemory
langs:
- csharp
- vb
name: Update(GameTime, TimeSpan, float)
nameWithType: IUpdatingMemory.Update(GameTime, TimeSpan, float)
fullName: TinyLife.Goals.IUpdatingMemory.Update(Microsoft.Xna.Framework.GameTime, System.TimeSpan, float)
type: Method
assemblies:
- Tiny Life
namespace: TinyLife.Goals
summary: A method that is called in <xref href="TinyLife.Objects.PersonLike.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)" data-throw-if-not-resolved="false"></xref> for a person who has this memory.
example: []
syntax:
content: void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
description: The game's time
- id: passedInGame
type: System.TimeSpan
description: The amount of time that has passed since the last call
- 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>
content.vb: Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overload: TinyLife.Goals.IUpdatingMemory.Update*
nameWithType.vb: IUpdatingMemory.Update(GameTime, TimeSpan, Single)
fullName.vb: TinyLife.Goals.IUpdatingMemory.Update(Microsoft.Xna.Framework.GameTime, System.TimeSpan, Single)
name.vb: Update(GameTime, TimeSpan, Single)
references:
2024-10-17 17:28:12 +02:00
- uid: TinyLife.Goals.Memory
commentId: T:TinyLife.Goals.Memory
href: TinyLife.Goals.Memory.html
name: Memory
nameWithType: Memory
fullName: TinyLife.Goals.Memory
- uid: TinyLife.Objects.PersonLike.UpdateMemories(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
commentId: M:TinyLife.Objects.PersonLike.UpdateMemories(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
parent: TinyLife.Objects.PersonLike
isExternal: true
href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_UpdateMemories_Microsoft_Xna_Framework_GameTime_System_TimeSpan_System_Single_
name: UpdateMemories(GameTime, TimeSpan, float)
nameWithType: PersonLike.UpdateMemories(GameTime, TimeSpan, float)
fullName: TinyLife.Objects.PersonLike.UpdateMemories(Microsoft.Xna.Framework.GameTime, System.TimeSpan, float)
nameWithType.vb: PersonLike.UpdateMemories(GameTime, TimeSpan, Single)
fullName.vb: TinyLife.Objects.PersonLike.UpdateMemories(Microsoft.Xna.Framework.GameTime, System.TimeSpan, Single)
name.vb: UpdateMemories(GameTime, TimeSpan, Single)
spec.csharp:
- uid: TinyLife.Objects.PersonLike.UpdateMemories(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
name: UpdateMemories
href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_UpdateMemories_Microsoft_Xna_Framework_GameTime_System_TimeSpan_System_Single_
- name: (
- uid: Microsoft.Xna.Framework.GameTime
name: GameTime
isExternal: true
- name: ','
- name: " "
- uid: System.TimeSpan
name: TimeSpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.timespan
- name: ','
- name: " "
- uid: System.Single
name: float
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
spec.vb:
- uid: TinyLife.Objects.PersonLike.UpdateMemories(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
name: UpdateMemories
href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_UpdateMemories_Microsoft_Xna_Framework_GameTime_System_TimeSpan_System_Single_
- name: (
- uid: Microsoft.Xna.Framework.GameTime
name: GameTime
isExternal: true
- name: ','
- name: " "
- uid: System.TimeSpan
name: TimeSpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.timespan
- name: ','
- name: " "
- uid: System.Single
name: Single
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
2024-09-20 13:01:26 +02:00
- uid: TinyLife.Goals
commentId: N:TinyLife.Goals
href: TinyLife.html
name: TinyLife.Goals
nameWithType: TinyLife.Goals
fullName: TinyLife.Goals
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Goals
name: Goals
href: TinyLife.Goals.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Goals
name: Goals
href: TinyLife.Goals.html
- uid: TinyLife.Goals.IUpdatingMemory.TinyLife.Utilities.Extensions.JsonCopy``1
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
name: JsonCopy<IUpdatingMemory>(IUpdatingMemory)
nameWithType: Extensions.JsonCopy<IUpdatingMemory>(IUpdatingMemory)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Goals.IUpdatingMemory>(TinyLife.Goals.IUpdatingMemory)
nameWithType.vb: Extensions.JsonCopy(Of IUpdatingMemory)(IUpdatingMemory)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Goals.IUpdatingMemory)(TinyLife.Goals.IUpdatingMemory)
name.vb: JsonCopy(Of IUpdatingMemory)(IUpdatingMemory)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Goals.IUpdatingMemory)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.Goals.IUpdatingMemory
name: IUpdatingMemory
href: TinyLife.Goals.IUpdatingMemory.html
- name: '>'
- name: (
- uid: TinyLife.Goals.IUpdatingMemory
name: IUpdatingMemory
href: TinyLife.Goals.IUpdatingMemory.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Goals.IUpdatingMemory)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.Goals.IUpdatingMemory
name: IUpdatingMemory
href: TinyLife.Goals.IUpdatingMemory.html
- name: )
- name: (
- uid: TinyLife.Goals.IUpdatingMemory
name: IUpdatingMemory
href: TinyLife.Goals.IUpdatingMemory.html
- name: )
2024-10-17 17:28:12 +02:00
- uid: TinyLife.Objects.PersonLike
commentId: T:TinyLife.Objects.PersonLike
parent: TinyLife.Objects
href: TinyLife.Objects.PersonLike.html
name: PersonLike
nameWithType: PersonLike
fullName: TinyLife.Objects.PersonLike
2024-09-20 13:01:26 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
href: TinyLife.Utilities.Extensions.html#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
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
href: TinyLife.Utilities.Extensions.html
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
2024-10-17 17:28:12 +02:00
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
href: TinyLife.html
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
2024-09-20 13:01:26 +02:00
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
href: TinyLife.html
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
- uid: TinyLife.Objects.PersonLike.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
commentId: M:TinyLife.Objects.PersonLike.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
parent: TinyLife.Objects.PersonLike
isExternal: true
href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_Update_Microsoft_Xna_Framework_GameTime_System_TimeSpan_System_Single_
name: Update(GameTime, TimeSpan, float)
nameWithType: PersonLike.Update(GameTime, TimeSpan, float)
fullName: TinyLife.Objects.PersonLike.Update(Microsoft.Xna.Framework.GameTime, System.TimeSpan, float)
nameWithType.vb: PersonLike.Update(GameTime, TimeSpan, Single)
fullName.vb: TinyLife.Objects.PersonLike.Update(Microsoft.Xna.Framework.GameTime, System.TimeSpan, Single)
name.vb: Update(GameTime, TimeSpan, Single)
spec.csharp:
- uid: TinyLife.Objects.PersonLike.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
name: Update
href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_Update_Microsoft_Xna_Framework_GameTime_System_TimeSpan_System_Single_
- name: (
- uid: Microsoft.Xna.Framework.GameTime
name: GameTime
isExternal: true
- name: ','
- name: " "
- uid: System.TimeSpan
name: TimeSpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.timespan
- name: ','
- name: " "
- uid: System.Single
name: float
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
spec.vb:
- uid: TinyLife.Objects.PersonLike.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
name: Update
href: TinyLife.Objects.PersonLike.html#TinyLife_Objects_PersonLike_Update_Microsoft_Xna_Framework_GameTime_System_TimeSpan_System_Single_
- name: (
- uid: Microsoft.Xna.Framework.GameTime
name: GameTime
isExternal: true
- name: ','
- name: " "
- uid: System.TimeSpan
name: TimeSpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.timespan
- name: ','
- name: " "
- uid: System.Single
name: Single
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
- uid: TinyLife.GameImpl.Speed
commentId: P:TinyLife.GameImpl.Speed
href: TinyLife.GameImpl.html#TinyLife_GameImpl_Speed
name: Speed
nameWithType: GameImpl.Speed
fullName: TinyLife.GameImpl.Speed
- uid: TinyLife.Goals.IUpdatingMemory.Update*
commentId: Overload:TinyLife.Goals.IUpdatingMemory.Update
href: TinyLife.Goals.IUpdatingMemory.html#TinyLife_Goals_IUpdatingMemory_Update_Microsoft_Xna_Framework_GameTime_System_TimeSpan_System_Single_
name: Update
nameWithType: IUpdatingMemory.Update
fullName: TinyLife.Goals.IUpdatingMemory.Update
- 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: 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