Skip to content

Instantly share code, notes, and snippets.

@Zerophase
Created June 22, 2013 07:41
Show Gist options
  • Save Zerophase/5836235 to your computer and use it in GitHub Desktop.
Save Zerophase/5836235 to your computer and use it in GitHub Desktop.
private void setBooleanArg(char argChar, bool value)
{
if (booleanArgs.ContainsKey(argChar))
booleanArgs.Remove(argChar);
booleanArgs.Add(argChar, Am.setBool(value));
}
public bool GetBoolean(char arg)
{
Am = booleanArgs.Add(arg);
return Am.getBool();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment