Namespace: GameOfDeath.Tests
Assembly: GameOfDeath.Tests (in GameOfDeath.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: GameOfDeath.Tests (in GameOfDeath.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void ShowManyRabbits() { var viewport = Resolve<ScreenSpace>().Viewport; var size = new Size(0.1f); for (float x = viewport.Left + size.Width / 2; x <= viewport.Right; x += size.Width) for (float y = viewport.Top + size.Height / 2; y <= viewport.Bottom; y += size.Height) CreateRabbitWith50Health(new Vector2D(x, y)); }
See Also