-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kdobrzynski
committed
Apr 15, 2021
1 parent
c916cda
commit 4227870
Showing
5 changed files
with
67 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using Negum.Core.Managers.Types; | ||
using Negum.Core.Models.Sprites; | ||
|
||
namespace Negum.Core.Models.Data | ||
{ | ||
/// <summary> | ||
/// Represents Storyboard data read from directory. | ||
/// </summary> | ||
/// | ||
/// <author> | ||
/// https://github.com/TheNegumProject/Negum.Core | ||
/// </author> | ||
public interface IStoryboard | ||
{ | ||
/// <summary> | ||
/// Main manager which contains information about current Storyboard. | ||
/// </summary> | ||
IStoryboardManager Manager { get; } | ||
|
||
/// <summary> | ||
/// Manager which contains information about Animations in this Storyboard. | ||
/// </summary> | ||
IAnimationManager Animation { get; } | ||
|
||
/// <summary> | ||
/// Sprites used by this storyboard. | ||
/// </summary> | ||
ISprite Sprite { get; } | ||
} | ||
|
||
/// <summary> | ||
/// </summary> | ||
/// | ||
/// <author> | ||
/// https://github.com/TheNegumProject/Negum.Core | ||
/// </author> | ||
public class Storyboard : IStoryboard | ||
{ | ||
public IStoryboardManager Manager { get; internal set; } | ||
public IAnimationManager Animation { get; internal set; } | ||
public ISprite Sprite { get; internal set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters