summaryrefslogtreecommitdiff
path: root/Penguloon/Main.cs
diff options
context:
space:
mode:
authoraldrikboy <aldrikboy@gmail.com>2017-12-25 14:07:42 +0100
committeraldrikboy <aldrikboy@gmail.com>2017-12-25 14:07:42 +0100
commit020fd61af37eaaac81d7b930be15f8c350f28b7d (patch)
tree213e59cc8a7b60c717a0ea05159ac8967e6f5c35 /Penguloon/Main.cs
parent3281eed3ffca3b4488335846430b231001aea753 (diff)
I dab everyday
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
}