forked from cfrantzidis/DungeonExplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFormEvents.cs
More file actions
106 lines (92 loc) · 2.96 KB
/
Copy pathFormEvents.cs
File metadata and controls
106 lines (92 loc) · 2.96 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Text;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Net.Mime.MediaTypeNames;
namespace DungeonExplorer
{
public partial class FormEvents : Form
{
private void Form1_Load(object sender, EventArgs e)
{
}
#region Action Buttons
private void Action1_Click(object sender, EventArgs e)
{
MainGameHandling game = new MainGameHandling();
game.Button9_Pressed(1);
}
private void Action2_Click(object sender, EventArgs e)
{
MainGameHandling game = new MainGameHandling();
game.Button9_Pressed(2);
}
private void Action3_Click(object sender, EventArgs e)
{
MainGameHandling game = new MainGameHandling();
game.Button9_Pressed(3);
}
private void Action4_Click(object sender, EventArgs e)
{
MainGameHandling game = new MainGameHandling();
game.Button9_Pressed(4);
}
private void Action5_Click(object sender, EventArgs e)
{
MainGameHandling game = new MainGameHandling();
game.Button9_Pressed(5);
}
private void Action6_Click(object sender, EventArgs e)
{
MainGameHandling game = new MainGameHandling();
game.Button9_Pressed(6);
}
private void Action7_Click(object sender, EventArgs e)
{
MainGameHandling game = new MainGameHandling();
game.Button9_Pressed(7);
}
private void Action8_Click(object sender, EventArgs e)
{
MainGameHandling game = new MainGameHandling();
game.Button9_Pressed(8);
}
private void Action9_Click(object sender, EventArgs e)
{
MainGameHandling game = new MainGameHandling();
game.Button9_Pressed(9);
}
#endregion
private void temp_Click(object sender, EventArgs e)
{
LogicToDisplay.Instance.LabelText(Player.Instance.DescriptionString);
}
public void CloseForm()
{
this.Close();
}
private void startButton_Click(object sender, EventArgs e)
{
MainGameHandling.Instance.StartGameNew(this.nameInput.Text, 0, new bool[]{ false});
StartMenuPanel.Visible = false;
Player.Instance.CurrentState = GridButton_States.Navigation;
//challenges will come in next update
}
#region Situation/Inspect
private void Situation_Click(object sender, EventArgs e)
{
}
private void Inspect_Click_1(object sender, EventArgs e)
{
}
#endregion
#region 9Buttons
#endregion
}
}