-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEntrypoint.cs
49 lines (38 loc) · 1.06 KB
/
Entrypoint.cs
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.Input;
using BareKit.Graphics;
namespace BareKit
{
public class Entrypoint : Game
{
GraphicsDeviceManager graphics;
ScalingManager scaling;
SpriteBatch buffer;
public Entrypoint()
{
graphics = new GraphicsDeviceManager(this);
scaling = new ScalingManager(Window, new Vector3(720, 16, 9));
IsMouseVisible = true;
}
protected override void Initialize()
{
base.Initialize();
}
protected override void LoadContent()
{
buffer = new SpriteBatch(GraphicsDevice);
}
protected override void Update(GameTime gameTime)
{
base.Update(gameTime);
}
protected override void Draw(GameTime gameTime)
{
GraphicsDevice.Clear(Color.CornflowerBlue);
base.Draw(gameTime);
}
}
}