Beispiel #1
0
        public void UseCode()
        {
            switch (Codes.Next())
            {
            case ECodes.Nothing:
                Stats.UpEnergy();
                break;

            case ECodes.Go:
                this.Go();
                Stats.DownEnergy();
                break;
            }
        }