Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Turtle Graphics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MAST
Teaching
SE1
Turtle Graphics
Commits
337db5aa
Commit
337db5aa
authored
1 year ago
by
Huber-Saffer, Lasse
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into 'bba4495-dev-patch-52153'
# Conflicts: # Turtle.java
parents
8b2e3f0c
95e443e7
No related branches found
No related tags found
2 merge requests
!3
Remove redundant colors and method to get colors
,
!1
Fixed undefined ordering of the Turtle color array to conform to docs of setzeFarbe(int)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
Turtle.java
+9
-3
9 additions, 3 deletions
Turtle.java
with
11 additions
and
3 deletions
.gitignore
0 → 100644
+
2
−
0
View file @
337db5aa
*.ctxt
*.class
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Turtle.java
+
9
−
3
View file @
337db5aa
...
...
@@ -67,11 +67,17 @@ public class Turtle
FARBEN
.
put
(
"gruen"
,
Color
.
GREEN
);
FARBEN
.
put
(
"hellgrau"
,
Color
.
LIGHT_GRAY
);
FARBEN
.
put
(
"magenta"
,
Color
.
MAGENTA
);
FARBEN
.
put
(
"orange"
,
Color
.
ORANGE
);
FARBEN
.
put
(
"pink"
,
Color
.
PINK
);
FARBEN
.
put
(
"rot"
,
Color
.
RED
);
FARBEN
.
put
(
"gelb"
,
Color
.
YELLOW
);
FARBEN
.
put
(
"schwarz"
,
Color
.
BLACK
);
FARBEN
.
put
(
"weiss"
,
Color
.
WHITE
);
FARBEN
.
put
(
"gelb"
,
Color
.
YELLOW
);
FARBEN
.
put
(
"cyan"
,
Color
.
CYAN
);
FARBEN
.
put
(
"grau"
,
Color
.
GRAY
);
FARBEN
.
put
(
"blau"
,
Color
.
BLUE
);
FARBEN
.
put
(
"orange"
,
Color
.
ORANGE
);
FARBEN
.
put
(
"gruen"
,
Color
.
GREEN
);
FARBEN
.
put
(
"rot"
,
Color
.
RED
);
FARBEN
.
put
(
"dunkelgrau"
,
Color
.
DARK_GRAY
);
FARB_ARRAY
=
FARBEN
.
values
().
toArray
(
new
Color
[
FARBEN
.
size
()]);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment