Esempio n. 1
0
 public MainWindow()
 {
     InitializeComponent();
     var foxDraw = new FoxDraw(canvas);
 }
Esempio n. 2
0
        //public bool IsInMap()
        //{
        //    return !(startX > max || startY > max || startY < 0 || startX < 0);
        //}

        public void HeroAdder(FoxDraw foxDraw)
        {
            foxDraw.AddImage(heroImage, startX, startY);
        }
Esempio n. 3
0
        public void DrawHeroUp(Canvas canvas)
        {
            var foxDraw = new FoxDraw(canvas);

            foxDraw.AddImage("img/hero-Up.png", PosX, PosY);
        }