Changed from using Skin to interface ISkin.

This commit is contained in:
Harrison Deng 2019-01-27 18:11:45 -06:00
parent fa8a8f169c
commit 44e574ddce
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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)
{
}