Example #1
0
    private static void Main(string[] args)
    {
        ChangeFlag changeFlag = ChangeFlag.REVISED;

        Console.WriteLine(changeFlag.GetDescription());
        Console.Read();
    }
Example #2
0
    //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;
    }
Example #3
0
 void Rpc_SetChangeFlag(ChangeFlag newFlag)
 {
     Change = newFlag;
 }
Example #4
0
 void Cmd_SetChangeFlag(ChangeFlag newFlag)
 {
     Rpc_SetChangeFlag(newFlag);
 }