Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append(Name);
            sb.Append(" ");
            sb.Append("(");
            sb.Append(Kind.ToString());
            sb.Append(") Position: (");
            sb.Append(PositionInternal.X.ToString("F"));
            sb.Append(" / ");
            sb.Append(PositionInternal.Y.ToString("F"));
            sb.Append(")");

            return(sb.ToString());
        }
Exemplo n.º 2
0
 public override string ToString()
 {
     return((Prefix == UnitPrefix.Unity) ? Kind.ToString() : Prefix.ToString() + " " + Kind.ToString());
 }