private static void Main(string[] args) { ChangeFlag changeFlag = ChangeFlag.REVISED; Console.WriteLine(changeFlag.GetDescription()); Console.Read(); }
//Only resets locally, prevents turns being executed twice. public void ResetData() { CoordinateX = 0; CoordinateY = 0; Built = Building.Building_Type.NOTHING; Terraformed = Terrain.TerrainType.NOTHING; PickedRoundBonus = RoundBonusManager.RoundBonusType.NOTHING; ReturnedRoundBonus = RoundBonusManager.RoundBonusType.NOTHING; FoundedCityBonus = TownFoundingBonusManager.TownTiletype.NOTHING; CastedSpell = MagicController.SpellType.NOTHING; Change = ChangeFlag.NOTHING; }
void Rpc_SetChangeFlag(ChangeFlag newFlag) { Change = newFlag; }
void Cmd_SetChangeFlag(ChangeFlag newFlag) { Rpc_SetChangeFlag(newFlag); }