Ctrl+K

Strawberry.Core Namespace

Documentation for types in the Strawberry.Core namespace.

Classes

Type Description
Strawberry.Core.BaseComponent Base class for all components in the Strawberry engine. Custom components should inherit from this class to integrate with the entity-component system.
Strawberry.Core.ComponentCollection A collection of components
Strawberry.Core.Entity Represents a game entity that can contain components, children and tags.
Strawberry.Core.EntityCollection Represents a strongly-typed collection of {{cref:Strawberry.Core.Entity}} objects, accessible by their string keys. Wraps a dictionary and implements both mutable and read-only dictionary interfaces.
Strawberry.Core.Scene Represents a game scene that manages entities, viewports, layers, and physics. Acts as a container for all objects and logic within a specific state or level of the game.
Strawberry.Core.SceneCollection A collection of scenes
Strawberry.Core.StdGameContext A standard game context that can be used for games. For special situations like editors or custom game logic, you may need to implement your own game context using the {{cref:Strawberry.Core.IGameContext}} interface.

Enums

Type Description
Strawberry.Core.PauseStateFlags Do not use this! this is old

Interfaces

Type Description
Strawberry.Core.IGameContext Represents the context of a game, providing access to essential components and lifecycle methods for initialization, updating, and rendering. You should implement this interface in your game and launch it using Game class's Run method.