public GameboardWPF() { Element1 = new SkiaSharpGameBoard(); Element1.MouseUp += ThisElement_MouseUp; Element1.PaintSurface += ThisElement_PaintSurface; _otherElement = new SKElement(); _otherElement.PaintSurface += OtherPaint; }
public GameBoardWPF(IEventAggregator aggregator) { _aggregator = aggregator; Element = new SkiaSharpGameBoard(); GameBoardGraphicsCP privateBoard = Resolve <GameBoardGraphicsCP>(); MouseUp += GameboardWPF_MouseUp; Element.PaintSurface += ThisElement_PaintSurface; SKSize thisSize = privateBoard.SuggestedSize(); Width = thisSize.Width; Height = thisSize.Height; _aggregator.Subscribe(this, EnumRepaintCategories.FromSkiasharpboard.ToString()); Content = Element; }
public StatBoardWPF() { Element = new SkiaSharpGameBoard(); }
public PlayerBoardWPF() { Element = new SkiaSharpGameBoard(); Element.MouseUp += ThisElement_MouseUp; Element.PaintSurface += ThisElement_PaintSurface; }
public TrainStationWPF() { Element = new SkiaSharpGameBoard(); }