28 lines
631 B
C#
28 lines
631 B
C#
using Avalonia;
|
|
using ReactiveUI;
|
|
|
|
namespace Valheim_Dashboard.ViewModels;
|
|
|
|
public class ErsterStartViewModel : ViewModelBase
|
|
{
|
|
private bool _startAnimation;
|
|
public bool StartAnimation
|
|
{
|
|
get => _startAnimation;
|
|
set => this.RaiseAndSetIfChanged(ref _startAnimation, value);
|
|
}
|
|
|
|
|
|
private Point _animationTargetPosition;
|
|
public Point AnimationTargetPosition
|
|
{
|
|
get => _animationTargetPosition;
|
|
set => this.RaiseAndSetIfChanged(ref _animationTargetPosition, value);
|
|
}
|
|
|
|
public ErsterStartViewModel()
|
|
{
|
|
StartAnimation = true; // Property auf true setzen
|
|
}
|
|
|
|
} |