コード例 #1
0
 public Turtle Copy(string name = null, Position position = null)
 {
     return new Turtle(name ?? Name, position ?? Position);
 }
コード例 #2
0
 public Turtle(string name, Position position)
 {
     Name = name;
     Position = position;
 }