Class PentagasketTurtle

    • Constructor Detail

      • PentagasketTurtle

        public PentagasketTurtle​(Model model,
                                 int n)
        Parameters:
        model - a reference to the Model that this Turtle is builing
        n - number of levels for the Pentagasket
      • PentagasketTurtle

        public PentagasketTurtle​(Model model,
                                 int n,
                                 double xPos,
                                 double yPos)
        Parameters:
        model - a reference to the Model that this Turtle is builing
        n - number of levels for the Pentagasket
        xPos - the intial x-coordinate for this Turtle
        yPos - the intial y-coordinate for this Turtle
      • PentagasketTurtle

        public PentagasketTurtle​(Model model,
                                 int n,
                                 double xPos,
                                 double yPos,
                                 double z)
        Parameters:
        model - a reference to the Model that this Turtle is builing
        n - number of levels for the Pentagasket
        xPos - the intial x-coordinate for this Turtle
        yPos - the intial y-coordinate for this Turtle
        z - the z-plane for this Turtle