summaryrefslogtreecommitdiff
path: root/Penguloon/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Penguloon/Main.cs')
-rw-r--r--Penguloon/Main.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/Penguloon/Main.cs b/Penguloon/Main.cs
index b2844fc..d9d8003 100644
--- a/Penguloon/Main.cs
+++ b/Penguloon/Main.cs
@@ -5,6 +5,7 @@ using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using Android.Content.Res;
+using Android.Content;
namespace Penguloon
{
@@ -35,8 +36,11 @@ namespace Penguloon
set => _resources = value;
}
- public Main(Resources resources)
+ public Context Context { get; set; }
+
+ public Main(Resources resources, Context context)
{
+ Context = context;
Resources = resources;
Graphics = new GraphicsDeviceManager(this);
Content.RootDirectory = "Content";
@@ -70,6 +74,8 @@ namespace Penguloon
ContentManager.LoadContent(this);
+ UserdataManager.ReadData(Context);
+
// TODO: use this.Content to load your game content here
}