protected void SetAllDataValues() { DwgGameDats = new TDwgGameDats(); try { DwgGameDats.TheNatFlagsSet = NatureElementsFlags.EarthElem; DwgGameDats.NatElementsFlagsSetGF = NatElementsFlagsGF.EarthElemGF; DwgGameDats.TheGameDirectionSet = GameDirections.North; } finally { DwgGameDats.SetAllFlags(DwgGameDats, DwgGameDats.TheNatFlagsSet, DwgGameDats.NatElementsFlagsSetGF, DwgGameDats.TheNatFlagsSet); DwgGameDats.SetAllFlags(DwgGameDats, DwgGameDats.TheNatFlagsSet, DwgGameDats.NatElementsFlagsSetGF, DwgGameDats.TheGameDirectionSet, DwgGameDats.TheNatFlagsSet); } }
private void SetAllFlags(TDwgNdpGamesData dwgNdpGame, NatureElementsFlags theNatFlagsSet, NatElementsFlagsGF natElementsFlagsSetGF) { DwgGameDats.SetAllFlags(DwgGameDats, theNatFlagsSet, natElementsFlagsSetGF, theNatFlagsSet); }