-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSceneGameover.cs
40 lines (32 loc) · 951 Bytes
/
SceneGameover.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
using System.Diagnostics;
using Microsoft.Xna.Framework;
namespace BCEngine
{
public class SceneGameover : Scene
{
public SceneGameover(MainGame pGame) : base(pGame)
{
}
public override void Load()
{
base.Load();
}
public override void Unload()
{
base.Unload();
}
public override void Update(GameTime gameTime)
{
// Debug.WriteLine("Updating Scene Gameover...");
base.Update(gameTime);
}
public override void Draw(GameTime gameTime)
{
// Debug.WriteLine("Drawing Scene Gameover...");
mainGame.spriteBatch.Begin();
mainGame.spriteBatch.DrawString(AssetManager.MainFont,"Game Over",new Vector2(100,50),Color.Red);
mainGame.spriteBatch.End();
base.Draw(gameTime);
}
}
}