-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathProgram.cs
44 lines (37 loc) · 1.09 KB
/
Program.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
using System;
namespace MaximovInk.ConsoleGameEngine
{
public class Program
{
[STAThread]
private static void Main()
{
bool select = false;
char Char;
Engine e = new Engine();
while (select == false)
{
Console.WriteLine("Hello, this is examples.. Write 1 - raycasting ,2 - image loading,3 - primitives to play");
Char = Console.ReadLine()[0];
switch (Char)
{
case '1':
e = new Raycasting();
select = true;
break;
case '2':
e = new ImageConverting();
select = true;
break;
case '3':
e = new Primitives();
select = true;
break;
default:
break;
}
}
e.StartLoop();
}
}
}