DrenchMenu ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Entities Entity
    Drench DrenchMenu

Namespace: Drench
Assembly: Drench (in Drench.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public class DrenchMenu : Entity, Updateable

The DrenchMenu type exposes the following members.

Constructors

  NameDescription
Public methodDrenchMenu
Initializes a new instance of the DrenchMenu class
Top
Methods

  NameDescription
Public methodAdd T  (Inherited from Entity.)
Public methodAddTag (Inherited from Entity.)
Public methodClearTags (Inherited from Entity.)
Public methodContains T  (Inherited from Entity.)
Public methodContainsBehavior T  (Inherited from Entity.)
Public methodContainsTag (Inherited from Entity.)
Protected methodDeactivate (Inherited from Entity.)
Public methodDispose (Inherited from Entity.)
Public methodGet T 
Gets a specific component, derived classes can return faster cached values (e.g. Entity2D) View code on GitHub
(Inherited from Entity.)
Protected methodGetActiveBehaviors (Inherited from Entity.)
Protected methodGetComponentsForSaving (Inherited from Entity.)
Public methodGetOrDefault T  (Inherited from Entity.)
Public methodGetTags (Inherited from Entity.)
Public methodRemove T  (Inherited from Entity.)
Public methodRemoveTag (Inherited from Entity.)
Public methodSet (Inherited from Entity.)
Public methodSetComponents (Inherited from Entity.)
Public methodStart T  (Inherited from Entity.)
Public methodStop T  (Inherited from Entity.)
Public methodToString (Inherited from Entity.)
Public methodUpdate
Top
Fields

  NameDescription
Protected fieldcomponents (Inherited from Entity.)
Top
Properties

  NameDescription
Public propertyIsActive (Inherited from Entity.)
Public propertyIsPauseable (Overrides Entity IsPauseable.)
Public propertyNumberOfComponents (Inherited from Entity.)
Public propertyUpdatePriority (Inherited from Entity.)
Top
Remarks

Tests: Drench.Tests.DrenchMenuTests
Examples

6 unit tests call Drench.DrenchMenu
[Test, CloseAfterFirstFrame, Ignore]
public void ClickSingleHumanGame()
{
    ClickMouse(new Vector2D(0.11f, 0.26f));
    Assert.AreEqual(typeof(SingleHumanGame), menu.game.GetType());
}
[Test, CloseAfterFirstFrame, Ignore]
public void ClickHumanVsDumbAiLogic()
{
    ClickMouse(new Vector2D(0.11f, 0.34f));
    Assert.AreEqual(typeof(HumanVsAiGame), menu.game.GetType());
}
[Test, CloseAfterFirstFrame, Ignore]
public void ClickHumanVsSmartAiLogic()
{
    ClickMouse(new Vector2D(0.11f, 0.43f));
    Assert.AreEqual(typeof(HumanVsAiGame), menu.game.GetType());
}
See Also