示例#1
0
        public MainWindow()
        {
            InitializeComponent();

            FoxDraw = new FoxDraw(canvas);

            map.MapBuilder(FoxDraw);

            FoxDraw.AddHeroImage("Assets/hero-down.png", x, y);
            FoxDraw.AddHeroImage("Assets/hero-up.png", x, y);
            FoxDraw.AddHeroImage("Assets/hero-left.png", x, y);
            FoxDraw.AddHeroImage("Assets/hero-right.png", x, y);
        }