GameSystemCollection Class
Namespace: Stride.GamesAssembly: 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
Name | Description | |
---|---|---|
Constructors | ||
GameSystemCollection(IServiceRegistry) | ||
Properties | ||
IsFirstUpdateDone | Gets a value indicating whether first update has been done. |
|
State | Gets the state of this game system collection. |
|
Methods | ||
Dispose() | ||
Draw(GameTime) | Reference page contains code sample. |
|
Initialize() | ||
LoadContent() | Loads the content. |
|
UnloadContent() | Called when graphics resources need to be unloaded. Override this method to unload any game-specific graphics resources. |
|
Update(GameTime) | Reference page contains links to related conceptual articles. |
Constructors
GameSystemCollection(IServiceRegistry)
public GameSystemCollection(IServiceRegistry registry)
Parameters
Type | Name | Description |
---|---|---|
IServiceRegistry | registry |
Properties
IsFirstUpdateDone
Gets a value indicating whether first update has been done.
public bool IsFirstUpdateDone { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
State
Gets the state of this game system collection.
public GameSystemState State { get; }
Property Value
Type | Description |
---|---|
GameSystemState | The state of this game system collection. |
Methods
Dispose()
public void Dispose()
Draw(GameTime)
Reference page contains code sample.
public virtual void Draw(GameTime gameTime)
Parameters
Type | Name | Description |
---|---|---|
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
Type | Name | Description |
---|---|---|
GameTime | gameTime | Time passed since the last call to Update. |