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

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

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