new cursor while cleaning up from refactor.
This commit is contained in:
@@ -38,7 +38,6 @@ namespace RhythmBullet.Zer01HD.Screens.MainMenu
|
||||
|
||||
public override void Show()
|
||||
{
|
||||
Mouse.SetCursor(MouseCursor.FromTexture2D(assets.Get<Texture2D>("cursor"), 256, 256));
|
||||
Transitions.Add(fat);
|
||||
base.Show();
|
||||
}
|
||||
|
@@ -45,7 +45,6 @@ namespace RhythmBullet.Zer01HD.Utilities.ContentSystem
|
||||
|
||||
public T Get<T>(string assetName)
|
||||
{
|
||||
Console.WriteLine("Attempt get");
|
||||
lock (queue)
|
||||
{
|
||||
return (T)assets[assetName];
|
||||
|
@@ -31,7 +31,18 @@ namespace RhythmBullet.Zer01HD.Utilities.ScreenSystem
|
||||
this.proportion = proportion;
|
||||
this.rotate = rotate;
|
||||
Transitions.Add(this);
|
||||
}
|
||||
|
||||
public override void Show()
|
||||
{
|
||||
game.IsMouseVisible = false;
|
||||
base.Show();
|
||||
}
|
||||
|
||||
public override void Hide()
|
||||
{
|
||||
game.IsMouseVisible = true;
|
||||
base.Hide();
|
||||
}
|
||||
|
||||
public void InitiateTransition(Rectangle dimensions)
|
||||
|
@@ -44,6 +44,7 @@ namespace RhythmBullet.Zer01HD.Utilities.ScreenSystem
|
||||
|
||||
Debug.WriteLine("Showing " + value.GetType().Name);
|
||||
Screen.Show();
|
||||
previousScreen?.Hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user