Initial commit
This commit is contained in:
28
Valheim Dashboard/ViewModels/ErsterStartViewModel.cs
Normal file
28
Valheim Dashboard/ViewModels/ErsterStartViewModel.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user