Table of Contents

Interface IUpdatingMemory

Namespace
TinyLife.Goals
Assembly
Tiny Life.dll

An interface that can be applied to a class that extends Memory if the memory should be updated over time in UpdateMemories(GameTime, TimeSpan, float).

public interface IUpdatingMemory
Extension Methods

Methods

Update(GameTime, TimeSpan, float)

A method that is called in Update(GameTime, TimeSpan, float) for a person who has this memory.

void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)

Parameters

time GameTime

The game's time

passedInGame TimeSpan

The amount of time that has passed since the last call

speedMultiplier float

The game speed multiplier, which represents how fast things should happen, which is usually determined by Speed