Changed from using Skin to interface ISkin.
This commit is contained in:
parent
fa8a8f169c
commit
44e574ddce
@ -14,7 +14,7 @@ namespace RecrownedAthenaeum.UI.BookSystem
|
||||
public class Book
|
||||
{
|
||||
readonly ContentManagerController assets;
|
||||
readonly Skin skin;
|
||||
readonly ISkin skin;
|
||||
Camera2D camera;
|
||||
Page targetPage;
|
||||
Rectangle dimensions;
|
||||
@ -25,7 +25,7 @@ namespace RecrownedAthenaeum.UI.BookSystem
|
||||
/// </summary>
|
||||
/// <param name="assets"><see cref="ContentManagerController"/> that holds the assets that are to be used in the pages for this book during initialization.</param>
|
||||
/// <param name="skin">The skin that will be passed to pages during their initialization.</param>
|
||||
public Book(ContentManagerController assets, Skin skin)
|
||||
public Book(ContentManagerController assets, ISkin skin)
|
||||
{
|
||||
this.assets = assets;
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ namespace RecrownedAthenaeum.UI.BookSystem
|
||||
/// </summary>
|
||||
/// <param name="assets">The assets to be used during initialization passed by the book this page belongs to.</param>
|
||||
/// <param name="skin">The skin the book containing this page is given that can be used by this page.</param>
|
||||
protected internal virtual void Initialize(ContentManagerController assets, Skin skin)
|
||||
protected internal virtual void Initialize(ContentManagerController assets, ISkin skin)
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user