Versions in this module Expand all Collapse all v0 v0.1.0 May 30, 2024 Changes in this version + type Canvas struct + func NewCanvas(t mockConstructorTestingTNewCanvas) *Canvas + func (_m *Canvas) ClearScreen(c color.RGBA) + func (_m *Canvas) CreateNewSprite() models.Sprite + func (_m *Canvas) Fill(x int, y int, c color.RGBA) + func (_m *Canvas) GetHeight() int + func (_m *Canvas) GetUserInput() models.UserInput + func (_m *Canvas) GetWidth() int + func (_m *Canvas) SetCartesianPixel(x int, y int, c color.RGBA) + func (_m *Canvas) SetPixel(x int, y int, c color.RGBA) + type Sprite struct + func NewSprite(t mockConstructorTestingTNewSprite) *Sprite + func (_m *Sprite) Set(visible bool, cartX float64, cartY float64, radianAngle float64) + func (_m *Sprite) SetPosition(cartX float64, cartY float64) + func (_m *Sprite) SetRotation(radianAngle float64) + func (_m *Sprite) SetScale(scale float64) + func (_m *Sprite) SetSpriteImage(_a0 image.Image) + func (_m *Sprite) SetSpriteImageArrow() + func (_m *Sprite) SetSpriteImageTurtle() + func (_m *Sprite) SetVisible(visible bool) + type Turtle struct + func NewTurtle(t mockConstructorTestingTNewTurtle) *Turtle + func (_m *Turtle) B(distance float64) + func (_m *Turtle) Backward(distance float64) + func (_m *Turtle) Circle(radius float64, angleAmountToDraw float64, steps int) + func (_m *Turtle) EnableCompassAngleMode(in bool) + func (_m *Turtle) F(distance float64) + func (_m *Turtle) Fill(c color.RGBA) + func (_m *Turtle) Forward(distance float64) + func (_m *Turtle) GetAngle() float64 + func (_m *Turtle) GetPos() (float64, float64) + func (_m *Turtle) GoTo(x float64, y float64) + func (_m *Turtle) L(angle float64) + func (_m *Turtle) Left(angle float64) + func (_m *Turtle) Off() + func (_m *Turtle) On() + func (_m *Turtle) PD() + func (_m *Turtle) PU() + func (_m *Turtle) PaintDot(size float64) + func (_m *Turtle) PanL(distance float64) + func (_m *Turtle) PanLeftward(distance float64) + func (_m *Turtle) PanR(distance float64) + func (_m *Turtle) PanRightward(distance float64) + func (_m *Turtle) PenColor(c color.RGBA) + func (_m *Turtle) PenDown() + func (_m *Turtle) PenSize(size float64) + func (_m *Turtle) PenUp() + func (_m *Turtle) PointToward(x float64, y float64) + func (_m *Turtle) R(angle float64) + func (_m *Turtle) Right(angle float64) + func (_m *Turtle) SetAngle(angle float64) + func (_m *Turtle) SetDegreesMode() + func (_m *Turtle) SetRadianMode() + func (_m *Turtle) SetShapeAsArrow() + func (_m *Turtle) SetShapeAsImage(in image.Image) + func (_m *Turtle) SetShapeAsTurtle() + func (_m *Turtle) SetShapeScale(scale float64) + func (_m *Turtle) SetSpeed(PixelsPerSecond float64) + func (_m *Turtle) SetVisible(isVisible bool)