using System;
using System.Windows.Media;
using Chernobyl.App.Core;
using Chernobyl.App.Patterns;
using Chernobyl.Mathematics;
using Chernobyl.Mathematics.Vectors;
namespace Chernobyl.App.Visual
{
///
/// View model for observing the procedurally generated images.
///
public class VisualViewModel : ViewModel
{
/// The method that produces the image.
public VisualViewModel(Func factory)
{
Image = factory.CreateBitmap(500, 500);
}
///
/// The image to be display on the screen.
///
public ImageSource Image { get; }
}
}