ComponentSystem(T) Class

TinyEcs

ComponentSystemT Class

[This is preliminary documentation and is subject to change.]

Base class for systems.
Inheritance Hierarchy
SystemObject  TinyEcsComponentSystemT

Namespace:  TinyEcs
Assembly:  TinyEcs (in TinyEcs.dll) Version: 1.0.0

The ComponentSystemT type exposes the following members.

Constructors
  NameDescription
Protected methodComponentSystemT
Initializes a new instance of the ComponentSystemT class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecute
Executed when a message of type T is posted.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
When implementing a non-default constructor, the arguments will be injected. The dependencies need to have a default constructor in order for the dependency injection to work. Only one constructor is allowed for each ComponentSystemT. Arguments of the same type will share the same instance across ComponentSystems.
See Also