mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-30 08:57:59 +01:00
34 lines
522 B
C#
34 lines
522 B
C#
|
namespace Fie.Object
|
||
|
{
|
||
|
public class FieSkeletonAnimationObject
|
||
|
{
|
||
|
private int _trackID;
|
||
|
|
||
|
private string _animationName;
|
||
|
|
||
|
private float _animationSpeed = 1f;
|
||
|
|
||
|
public int trackID => _trackID;
|
||
|
|
||
|
public string animationName => _animationName;
|
||
|
|
||
|
public float animationSpeed
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return _animationSpeed;
|
||
|
}
|
||
|
set
|
||
|
{
|
||
|
_animationSpeed = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public FieSkeletonAnimationObject(int trackID, string animationName)
|
||
|
{
|
||
|
_trackID = trackID;
|
||
|
_animationName = animationName;
|
||
|
}
|
||
|
}
|
||
|
}
|