Exemple #1
0
 /// <summary>
 /// Initialises the entity to its initial state.
 /// </summary>
 /// <param name="position">The starting position of the entity.</param>
 /// <param name="entityTerminator">The entity terminator.</param>
 /// <param name="sceneStateManager">The scene state manager.</param>
 public virtual void Initialise(Vector3 position, IEntityTerminator entityTerminator, ISceneStateManager sceneStateManager)
 {
     Position = position;
     this.entityTerminator  = entityTerminator;
     this.sceneStateManager = sceneStateManager;
 }
 public HudScene(IEntityProvider entityProvider, IEntityTerminator entityTerminator) : base(entityProvider, entityTerminator)
 {
 }
Exemple #3
0
 /// <summary>
 /// Constructor for the scene.
 /// </summary>
 /// <param name="entityProvider">The entity provider.</param>
 /// <param name="entityTerminator">The entity terminator.</param>
 public AbstractScene(IEntityProvider entityProvider, IEntityTerminator entityTerminator)
 {
     // Store entity provider and terminator.
     this.entityProvider   = entityProvider;
     this.entityTerminator = entityTerminator;
 }