Beispiel #1
0
        public override string GetInfo()
        {
            string msg = base.GetInfo();

            msg += string.Format(@"{0}
", EnergyManager.GetInfo());

            return(msg);
        }
Beispiel #2
0
        public override string GetInfo()
        {
            string msg = base.GetInfo();

            msg += string.Format(@"{0}
Cargo capacity: {1:f}
Have dangerus substence: {2}
", EnergyManager.GetInfo(), CargoCapacity, m_DangerusSubstence.ToString());

            return(msg);
        }