private void HandleGoCommand(string[] commandWords, IControllable current) { var currentAsMoving = current as MovingObject; currentAsMoving.GoTo(Point.Parse(commandWords[2])); Console.WriteLine("{0} is now at position {1}", current, current.Position); } }