Rabbit DoDamage Method Delta Engine Documentation

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

public void DoDamage(
	float damage
)
Remarks

Tests: GameOfDeath.Tests.RabbitTests
Examples

1 unit tests call GameOfDeath.Rabbit.DoDamage(System.Single)
[Test]
public void DamageSingleRabbitToHalfHealth()
{
        var rabbit = CreateRabbitWith50Health(Vector2D.Half);
        rabbit.DoDamage(25);
}
See Also