public MainWindow() { InitializeComponent(); var foxDraw = new FoxDraw(canvas); //Area area = new Area(11, 10, 50); area.DrawArea(foxDraw); Hero.SetHero(foxDraw); Skeleton.SetSkeleton(foxDraw); Skeleton.SetSkeleton(foxDraw); }