diff --git a/RecrownedAthenaeum/UI/BookSystem/Book.cs b/RecrownedAthenaeum/UI/BookSystem/Book.cs index 21cb024..f6bc04c 100644 --- a/RecrownedAthenaeum/UI/BookSystem/Book.cs +++ b/RecrownedAthenaeum/UI/BookSystem/Book.cs @@ -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 /// /// that holds the assets that are to be used in the pages for this book during initialization. /// The skin that will be passed to pages during their initialization. - public Book(ContentManagerController assets, Skin skin) + public Book(ContentManagerController assets, ISkin skin) { this.assets = assets; } diff --git a/RecrownedAthenaeum/UI/BookSystem/Page.cs b/RecrownedAthenaeum/UI/BookSystem/Page.cs index 64afd12..29e78fb 100644 --- a/RecrownedAthenaeum/UI/BookSystem/Page.cs +++ b/RecrownedAthenaeum/UI/BookSystem/Page.cs @@ -47,7 +47,7 @@ namespace RecrownedAthenaeum.UI.BookSystem /// /// The assets to be used during initialization passed by the book this page belongs to. /// The skin the book containing this page is given that can be used by this page. - protected internal virtual void Initialize(ContentManagerController assets, Skin skin) + protected internal virtual void Initialize(ContentManagerController assets, ISkin skin) { }