Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pacman
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Ramona Ullmann
Pacman
Commits
72d88d95
Commit
72d88d95
authored
3 years ago
by
Moritz Von Klitzing
Browse files
Options
Downloads
Patches
Plain Diff
Delete MAMPFI.java
parent
5e01aabf
No related branches found
No related tags found
1 merge request
!2
Blickrichtungen
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MAMPFI.java
+0
-49
0 additions, 49 deletions
MAMPFI.java
with
0 additions
and
49 deletions
MAMPFI.java
deleted
100644 → 0
+
0
−
49
View file @
5e01aabf
public
class
MAMPFI
{
// Instanzvariablen - ersetzen Sie das folgende Beispiel mit Ihren Variablen
int
positionX
;
int
positionY
;
boolean
verwundbar
;
char
blickrichtung
;
KREISFORM
symbol
;
/**
* simpler Konstruktor f�r Objekte der Klasse MAMPFI
*/
public
MAMPFI
()
{
positionX
=
0
;
positionY
=
0
;
verwundbar
=
true
;
blickrichtung
=
'N'
;
symbol
=
new
KREISFORM
(
)
;
symbol
.
StartWinkelSetzen
(
120
)
;
symbol
.
BogenWinkelSetzen
(
300
)
;
symbol
.
FuellFarbeSetzen
(
"gelb"
)
;
symbol
.
RandFarbeSetzen
(
"schwarz"
);
}
public
void
VerwundbarSetzen
(
boolean
v
)
{
verwundbar
=
v
;
if
(
v
=
true
)
{
symbol
.
FuellFarbeSetzen
(
"rot"
);
}
else
{
symbol
.
FuellFarbeSetzen
(
"gelb"
);
}
}
public
void
VerwundbarMachen
()
{
verwundbar
=
true
;
}
public
void
UnverwundbarMachen
()
{
verwundbar
=
false
;
}
}
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