Inheritance Hierarchy
DeltaEngine.Entities Entity
DeltaEngine.Commands Trigger
DeltaEngine.GameLogic GameTrigger
CreepyTowers.Triggers LifeIsLessThanZero
Namespace: CreepyTowers.Triggers
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax
The LifeIsLessThanZero type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LifeIsLessThanZero | Initializes a new instance of the LifeIsLessThanZero class |
Methods
Name | Description | |
---|---|---|
Add T | (Inherited from Entity.) | |
AddTag | (Inherited from Entity.) | |
ClearTags | (Inherited from Entity.) | |
Contains T | (Inherited from Entity.) | |
ContainsBehavior T | (Inherited from Entity.) | |
ContainsTag | (Inherited from Entity.) | |
Deactivate | (Inherited from Entity.) | |
Dispose | (Inherited from Entity.) | |
EnemyReachGoalPoint | (Inherited from GameTrigger.) | |
GameOver | (Overrides GameTrigger GameOver .) | |
Get T |
Gets a specific component, derived classes can return faster cached values (e.g. Entity2D)
View code on GitHub (Inherited from Entity.) | |
GetActiveBehaviors | (Inherited from Entity.) | |
GetComponentsForSaving | (Inherited from Entity.) | |
GetOrDefault T | (Inherited from Entity.) | |
GetTags | (Inherited from Entity.) | |
Invoke | (Inherited from Trigger.) | |
Remove T | (Inherited from Entity.) | |
RemoveTag | (Inherited from Entity.) | |
Set | (Inherited from Entity.) | |
SetComponents | (Inherited from Entity.) | |
Start T | (Inherited from Entity.) | |
StartingLevel | (Inherited from GameTrigger.) | |
Stop T | (Inherited from Entity.) | |
ToString | (Inherited from Entity.) | |
Update | (Inherited from Trigger.) | |
UpdateAfterOneSecond | (Inherited from GameTrigger.) |
Fields
Name | Description | |
---|---|---|
components | (Inherited from Entity.) | |
Invoked | (Inherited from Trigger.) |
Properties
Name | Description | |
---|---|---|
IsActive | (Inherited from Entity.) | |
IsPauseable | (Inherited from Trigger.) | |
NumberOfComponents | (Inherited from Entity.) | |
UpdatePriority | (Inherited from Entity.) | |
WasInvokedThisTick | (Inherited from Trigger.) |
Remarks
Examples
[Test, CloseAfterFirstFrame] public void TestLifeIsLessThanZero() { new LifeIsLessThanZero("0"); GameTrigger.OnGameOver(); var list = EntitiesRunner.Current.GetEntitiesOfType<FontText>(); Assert.AreEqual(1, list.Count); Assert.AreEqual("Game Over", list[0].Text); }
See Also