Table of Contents

Class GameSystemCollection

Namespace
Stride.Games
Assembly
Stride.Games.dll

A collection of game components.

public class GameSystemCollection : TrackingCollection<IGameSystemBase>, ITrackingCollectionChanged, IGameSystemCollection, IList<IGameSystemBase>, ICollection<IGameSystemBase>, IReadOnlyList<IGameSystemBase>, IReadOnlyCollection<IGameSystemBase>, IEnumerable<IGameSystemBase>, IEnumerable, IDisposable
Inheritance
GameSystemCollection
Implements
Inherited Members
Extension Methods

Constructors

GameSystemCollection(IServiceRegistry)

public GameSystemCollection(IServiceRegistry registry)

Parameters

registry IServiceRegistry

Properties

IsFirstUpdateDone

Gets a value indicating whether first update has been done.

public bool IsFirstUpdateDone { get; }

Property Value

bool

true if first update has been done; otherwise, false.

State

Gets the state of this game system collection.

public GameSystemState State { get; }

Property Value

GameSystemState

The state of this game system collection.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Draw(GameTime)

Reference page contains code sample.

public virtual void Draw(GameTime gameTime)

Parameters

gameTime GameTime

Time passed since the last call to Draw.

Initialize()

public void Initialize()

LoadContent()

Loads the content.

public virtual void LoadContent()

UnloadContent()

Called when graphics resources need to be unloaded. Override this method to unload any game-specific graphics resources.

public virtual void UnloadContent()

Update(GameTime)

Reference page contains links to related conceptual articles.

public virtual void Update(GameTime gameTime)

Parameters

gameTime GameTime

Time passed since the last call to Update.