Namespace: GameOfDeath
Assembly: GameOfDeath (in GameOfDeath.exe) Version: 1.1.1.0 (1.1.1)
Tests: GameOfDeath.Tests.RabbitGridTests
1 unit tests call GameOfDeath.RabbitGrid.Rabbits
Assembly: GameOfDeath (in GameOfDeath.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: RabbitRemarks
Examples
[Test] public void DamagingRabbitsTillDeathMakesThemInvisibleAgain() { var rabbitGrid = CreateRabbitGrid(); AdvanceTimeAndUpdateEntities(); rabbitGrid.DoDamage(rabbitGrid.CalculatePositionOfMatrixRabbit(1, 1), 0.1f, 10.0f); Assert.IsFalse(rabbitGrid.Rabbits[1,1].IsVisible); Assert.IsFalse(rabbitGrid.Rabbits[1,1].RabbitHealthBar.IsVisible); }
See Also