So I've been away for a while now. It looks like since I've been gone, my account has been reset and some imposter has taken it!
He goes by my old name, georgem. I have contacted the admins, and they
refuse to do anything to help rid of this charlatan!
Sorry. I see over the past few pages there have been concerns about my lack of adding to the Spreadcoin github. Fortunately, I have had many breakthroughs when it comes to service nodes. The sooncoin devs have proven most useful for my recent service node developments. Please feel free to review the following code. I hope to release the service nodes in approximately
69 hours. Soon!
Here is the code for review:
01
protected override void Update(GameTime gameTime)
02
{
03
newState = Keyboard.GetState();
04
newPadState = GamePad.GetState(PlayerIndex.One);
05
06
if (inDialog && dialogNPC != null)
07
{
08
dialog.Show();
09
dialogNPC.StartDialog(dialogNPC.DialogName);
10
dialogNPC = null;
11
}
12
13
if (!dialog.Enabled)
14
{
15
inDialog = false;
16
dialogNPC = null;
17
}
18
19
if (activeScreen == startScreen)
20
{
21
HandleStartScreenInput();
22
}
23
else if (activeScreen == helpScreen)
24
{
25
HandleHelpScreenInput();
26
}
27
else if (activeScreen == createPCScreen)
28
{
29
HandleCreatePCScreenInput();
30
}
31
else if (activeScreen == quitPopUpScreen)
32
{
33
HandleQuitPopUpScreenInput();
34
}
35
else if (activeScreen == genderPopUpScreen)
36
{
37
HandleGenderPopUpScreenInput();
38
}
39
else if (activeScreen == classPopUpScreen)
40
{
41
HandleClassPopUpScreenInput();
42
}
43
else if (activeScreen == difficultyPopUpScreen)
44
{
45
HandleDifficultyPopUpScreenInput();
46
}
47
else if (activeScreen == nameInputScreen)
48
{
49
HandleNameInputScreenInput();
50
}
51
else if (activeScreen == introScreen)
52
{
53
HandleIntroScreenInput();
54
}
55
else if (activeScreen == creditScreen)
56
{
57
HandleCreditScreenInput();
58
}
59
else if (activeScreen == actionScreen)
60
{
61
HandleActionScreeenInput();
62
HandlePlayerInput(gameTime);
63
}
64
else if (activeScreen == viewCharacterScreen)
65
{
66
HandleViewCharacterScreenInput();
67
}
68
else if (activeScreen == quitActionScreen)
69
{
70
HandleQuitActionScreenInput();
71
}
72
else if (activeScreen == combatScreen)
73
{
74
HandleCombatScreenInput();
75
}
76
else if (activeScreen == treasureScreen)
77
{
78
HandleTreasureScreenInput();
79
}
80
base.Update(gameTime);
81
82
oldState = newState;
83
oldPadState = newPadState;
84
}
Stay tuned! 