Beispiel #1
0
 public abstract string VisitPeasnt(Peasant peasant);
Beispiel #2
0
        public override string VisitPeasnt(Peasant peasant)
        {
            string res = "type:Peasant " + " < " + peasant.Id + "-" + peasant.X + "-" + peasant.Y + ">";

            return(res);
        }