I really hope it doesn't come to anything like that. I have and still do enjoy this site. I'd say not to over-react and see what changes ACTUALLY happen.
If you look at how I wrote the latest version of the framework you'll notice that the GUI has a instance of GameUser known as selectedChar. You can use that to control the hunting state via a button on the gui.
here's a simple example...
under GameUser
public bool Hunting = false;
under GUI (after creating a button called btnHunting)
Something like that should work just fine.
it should be fairly simple to do.Quote:
the progress is good so far i have added the DMap handler, Calculations etc
what is pissing me off is i want to make a button to start hunting/mining but its always saying that event handler doesn't have a definition for Hunting/Mining and a button change its name from start to stop instead of making two buttons for it
i hope u got my point :confused:
If you look at how I wrote the latest version of the framework you'll notice that the GUI has a instance of GameUser known as selectedChar. You can use that to control the hunting state via a button on the gui.
here's a simple example...
under GameUser
public bool Hunting = false;
under GUI (after creating a button called btnHunting)
Code:
private void btnHunting_Click(object sender, EventArgs e)
{
selectedChar.Hunting = !selectedChar.Hunting;
btnHunting.Text = selectedChar.Hunting.ToString();
}