Start of transition to OTK

This commit is contained in:
2019-11-24 00:17:21 -05:00
parent c04f2f1b78
commit 9387611b19
8 changed files with 8 additions and 91 deletions

View File

@@ -15,7 +15,7 @@ namespace RecrownedAthenaeum.UI.BookSystem
/// </summary>
public class Book : IInputListener
{
readonly ContentManagerController assets;
readonly AssetManager assets;
readonly ISkin skin;
Page targetPage;
int width, height;
@@ -31,10 +31,10 @@ namespace RecrownedAthenaeum.UI.BookSystem
/// <summary>
/// Creates a book.
/// </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="assets"><see cref="AssetManager"/> 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>
/// <param name="camera">Camera to move to change pages.</param>
public Book(ContentManagerController assets, ISkin skin, Camera2D camera)
public Book(AssetManager assets, ISkin skin, Camera2D camera)
{
this.assets = assets;
this.skin = skin;

View File

@@ -49,7 +49,7 @@ namespace RecrownedAthenaeum.UI.BookSystem
/// <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>
/// <param name="basicScissor">The scissor box to use for cropping.</param>
protected internal virtual void Initialize(ContentManagerController assets, ISkin skin, BasicScissor basicScissor)
protected internal virtual void Initialize(AssetManager assets, ISkin skin, BasicScissor basicScissor)
{
this.basicScissor = basicScissor;
}