MockEntitiesRunner ClassDelta Engine Documentation
Mock Entities Runner for fast resolution of behavior during unit testing. View code on GitHub
Inheritance Hierarchy

System Object
  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

public class MockEntitiesRunner : EntitiesRunner

The MockEntitiesRunner type exposes the following members.

Constructors

  NameDescription
Public methodMockEntitiesRunner
Initializes a new instance of the MockEntitiesRunner class
Top
Methods

  NameDescription
Public methodChangeUpdateTimeStep
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.)
Public methodDispose
Releases all resources used by the MockEntitiesRunner
Public methodGetAllEntities (Inherited from EntitiesRunner.)
Public methodGetDrawBehavior T  (Inherited from EntitiesRunner.)
Public methodGetEntitiesOfType T  (Inherited from EntitiesRunner.)
Public methodGetEntitiesWithTag (Inherited from EntitiesRunner.)
Public methodGetUpdateBehavior T  (Inherited from EntitiesRunner.)
Protected methodGetWhetherAppIsPaused (Overrides EntitiesRunner GetWhetherAppIsPaused .)
Public methodRemoveAll (Inherited from EntitiesRunner.)
Public methodRunEntities
Public methodRunEntitiesPaused
Public methodUpdateAndDrawAllEntities (Inherited from EntitiesRunner.)
Top
Properties

  NameDescription
Public propertyNumberOfEntities (Inherited from EntitiesRunner.)
Public propertyState (Inherited from EntitiesRunner.)
Protected propertyUpdateTimeStep (Inherited from EntitiesRunner.)
Top
See Also