Exemplo n.º 1
0
        private void Rigth_Click(object sender, RoutedEventArgs e)
        {
            ICoordinate coor = new SimpleSquareCoordinate(choosen.GetPosition().GetX() + 1, choosen.GetPosition().GetY(), choosen.GetPosition().GetZ());

            model.SetDestination(choosen, coor);
            model.Iteration();
            Draw();
        }
Exemplo n.º 2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            ICoordinate coor = new SimpleSquareCoordinate(choosen.GetPosition().GetX(), choosen.GetPosition().GetY() + 1, choosen.GetPosition().GetZ());

            model.SetDestination(choosen, coor);
            model.Iteration();
            //model.AddPlayer();
            //model.AddResourceType("PineAplle");
            Draw();
        }