public Gameplay(MainWindow _gamePlayerParent)
        {
            gamePlayerParent = _gamePlayerParent;

            InitializeComponent();
            PrintMap();
            enemiesPositions.Add(new Position(50, 100));
            enemiesPositions.Add(new Position(150, 150));
            enemiesPositions.Add(new Position(550, 240));
            enemiesPositions.Add(new Position(150, 390));
            enemiesPositions.Add(new Position(380, 290));
            enemiesPositions.Add(new Position(430, 500));

            GenerateEnemies();
            PrintEnemies();

            DispatcherTimer dispatcherTimer = new DispatcherTimer();
            dispatcherTimer.Tick += (DispatcherTimer_Tick);
            dispatcherTimer.Interval = new TimeSpan(0, 0, 0, 0, 1);
            dispatcherTimer.Start();

            player.Update(GamePlayLayout);
        }
 public Credits(MainWindow _parent)
 {
     parent = _parent;
     InitializeComponent();
 }