Mock Entities Runner for fast resolution of behavior during unit testing.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Entities EntitiesRunner
DeltaEngine.Mocks MockEntitiesRunner
Namespace: DeltaEngine.Mocks
Assembly: DeltaEngine.Mocks (in DeltaEngine.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MockEntitiesRunner type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | MockEntitiesRunner | Initializes a new instance of the MockEntitiesRunner class |
Methods
Name | Description | |
---|---|---|
![]() | ChangeUpdateTimeStep |
Changes how many times UpdateBehaviors and Updateables are called each second. By default
this setting is initialized at the beginning from Settings (20 UpdatesPerSecond = 0.05).
View code on GitHub (Inherited from EntitiesRunner.) |
![]() | Dispose | Releases all resources used by the MockEntitiesRunner |
![]() | GetAllEntities | (Inherited from EntitiesRunner.) |
![]() | GetDrawBehavior T | (Inherited from EntitiesRunner.) |
![]() | GetEntitiesOfType T | (Inherited from EntitiesRunner.) |
![]() | GetEntitiesWithTag | (Inherited from EntitiesRunner.) |
![]() | GetUpdateBehavior T | (Inherited from EntitiesRunner.) |
![]() | GetWhetherAppIsPaused | (Overrides EntitiesRunner GetWhetherAppIsPaused .) |
![]() | RemoveAll | (Inherited from EntitiesRunner.) |
![]() | RunEntities | |
![]() | RunEntitiesPaused | |
![]() | UpdateAndDrawAllEntities | (Inherited from EntitiesRunner.) |
Properties
Name | Description | |
---|---|---|
![]() | NumberOfEntities | (Inherited from EntitiesRunner.) |
![]() | State | (Inherited from EntitiesRunner.) |
![]() | UpdateTimeStep | (Inherited from EntitiesRunner.) |
See Also