Exemplo n.º 1
0
        private void SetMap()
        {
            Random rnd = new Random();

            for (int i = 1; i < otoczenie.Count; i++)
            {
                int        texture_number = rnd.Next(1, 4);
                emptyArea  emptyArea      = new emptyArea(otoczenie[i - 1], configPath + @"trees0" + texture_number.ToString() + @".png", this, configPath);
                StackPanel txt            = FindName("area" + i) as StackPanel;
                txt.Children.Add(emptyArea);
            }
        }
Exemplo n.º 2
0
 private void SetWydzial(emptyArea element)
 {
 }