public MainWindow() { InitializeComponent(); var foxDraw = new FoxDraw(canvas); }
//public bool IsInMap() //{ // return !(startX > max || startY > max || startY < 0 || startX < 0); //} public void HeroAdder(FoxDraw foxDraw) { foxDraw.AddImage(heroImage, startX, startY); }
public void DrawHeroUp(Canvas canvas) { var foxDraw = new FoxDraw(canvas); foxDraw.AddImage("img/hero-Up.png", PosX, PosY); }