Descent.Model.Board.Board.PlaceDeadHero C# (CSharp) Method

PlaceDeadHero() private method

private PlaceDeadHero ( Hero hero ) : void
hero Hero
return void
        private void PlaceDeadHero(Hero hero)
        {
            for (int y = 0; y < Height; y++)
            {
                for (int x = 0; x < Width; x++)
                {
                    if (IsValidStartSquare(new Point(x, y)))
                    {
                        PlaceFigure(hero, new Point(x, y));
                        return;
                    }
                }
            }
        }