diff options
| author | aldrikboy <aldrikboy@gmail.com> | 2018-01-12 13:32:26 +0100 |
|---|---|---|
| committer | aldrikboy <aldrikboy@gmail.com> | 2018-01-12 13:32:26 +0100 |
| commit | f93e133ede2a76be1aa20a33c9fcf01308cd6df8 (patch) | |
| tree | 1a906cc08cefd785628ba0e416136f843a37b7f3 /Penguloon/Main.cs | |
| parent | 39b1a897eec86f532ca1417698057ae9e1130985 (diff) | |
dab
Diffstat (limited to 'Penguloon/Main.cs')
| -rw-r--r-- | Penguloon/Main.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Penguloon/Main.cs b/Penguloon/Main.cs index d9d8003..703f900 100644 --- a/Penguloon/Main.cs +++ b/Penguloon/Main.cs @@ -38,9 +38,13 @@ namespace Penguloon public Context Context { get; set; } - public Main(Resources resources, Context context) + public Context Activity_ { get; set; } + + public Main(Resources resources, Activity context) { - Context = context; + Context = context.ApplicationContext; + Activity_ = context; + Resources = resources; Graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; |
