-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathSetup.cs
More file actions
35 lines (30 loc) · 704 Bytes
/
Copy pathSetup.cs
File metadata and controls
35 lines (30 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
namespace RogueLikePlatfromer
{
public static class Setup
{
private static ContentManager c;
private static GraphicsDeviceManager g;
public static void Init(ContentManager _content, GraphicsDeviceManager _graphics)
{
g = _graphics;
c = _content;
}
public static ContentManager ContentDevice
{
get
{
return c;
}
}
public static GraphicsDeviceManager graphics
{
get
{
return g;
}
}
}
}