Entity IsActive Property Delta Engine Documentation

Namespace: DeltaEngine.Entities
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public virtual bool IsActive { get; set; }

Property Value

Type: Boolean
Remarks

Tests: CreepyTowers.Tests.Avatars.PiggyBankTests
Examples

1 unit tests call DeltaEngine.Entities.Entity.IsActive
[Test]
public void SpawnCoinMinefield()
{
    Assert.AreEqual(5, coins.Count);
    Assert.AreEqual(new Vector3D(0.5f, 1.5f, 0.0f), coins[0].Position);
    Assert.IsTrue(coins[0].IsActive);
}
See Also