-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGame.cs
More file actions
43 lines (35 loc) · 734 Bytes
/
Game.cs
File metadata and controls
43 lines (35 loc) · 734 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
36
37
38
39
40
41
42
43
using System.IO;
using System;
using System.Collections.Generic;
namespace Nitemare3D
{
public class Game : Scene
{
Pcx hud = new Pcx(Dat.Uif[ImageConsts.UI_HUD]);
int[] music = new int[]
{
MidiConsts.MIDI_E1M1,
MidiConsts.MIDI_INTERMISSION
};
public const string gameTitle = "Nitemare 3D 0.46";
public static Player player;
public static int episode = 1;
public override void Load()
{
songid = music[1];
pcx = hud;
player = Entity.Create<Player>();
Level.LoadMap(level, episode);
}
public override void UnLoad()
{
}
public static int level = 0;
public override void Update()
{
songid = music[level];
//Entity.UpdateEntites();
//player.RenderRaycaster();
}
}
}