Namespace: DeltaEngine.Entities
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Entities.EntityTests
1 unit tests call DeltaEngine.Entities.Entity.UpdatePriority
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: PriorityRemarks
Examples
[Test] public void ChangeUpdatePriority() { var updateable = new UpdateableEntity().Add(1); Assert.AreEqual(1, updateable.Get<int>()); Assert.AreEqual(1, entities.GetEntitiesOfType<UpdateableEntity>().Count); updateable.UpdatePriority = Priority.High; entities.RunEntities(); Assert.AreEqual(2, updateable.Get<int>()); Assert.AreEqual(1, entities.GetEntitiesOfType<UpdateableEntity>().Count); }
See Also