-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAnimationManager.cs
107 lines (91 loc) · 2.77 KB
/
AnimationManager.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#region using statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Timers;
#endregion
namespace DataJuggler.Blazor.Components
{
#region class AnimationManager
/// <summary>
/// This class is used as a CascadingParameter for Sprites.
/// </summary>
public class AnimationManager
{
#region Private Variables
private Timer timer;
private int increment;
private int interval;
private bool started;
private string display;
private bool visible;
#endregion
#region Properties
#region Display
/// <summary>
/// This property gets or sets the value for 'Display'.
/// </summary>
public string Display
{
get { return display; }
set { display = value; }
}
#endregion
#region Increment
/// <summary>
/// This property gets or sets the value for 'Increment'.
/// </summary>
public int Increment
{
get { return increment; }
set { increment = value; }
}
#endregion
#region Interval
/// <summary>
/// This property gets or sets the value for 'Interval'.
/// </summary>
public int Interval
{
get { return interval; }
set { interval = value; }
}
#endregion
#region Started
/// <summary>
/// This property gets or sets the value for 'Started'.
/// </summary>
public bool Started
{
get { return started; }
set { started = value; }
}
#endregion
#region Timer
/// <summary>
/// This property gets or sets the value for 'Timer'.
/// </summary>
public Timer Timer
{
get { return timer; }
set { timer = value; }
}
#endregion
#region Visible
/// <summary>
/// This property gets or sets the value for 'Visible'.
/// This visible can be used for setting an entire scene visible or not.
/// Subscribing Sprites' Visible properties are not affected.
/// </summary>
public bool Visible
{
get { return visible; }
set { visible = value; }
}
#endregion
#endregion
}
#endregion
}