Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Input szoftver projekt laboratorium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aaendru
Input szoftver projekt laboratorium
Commits
f6f17e35
Commit
f6f17e35
authored
Mar 30, 2020
by
CsellarAndras
Browse files
Options
Downloads
Patches
Plain Diff
Removed color 2
parent
f5d61dc2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Arctic_Nigthmare/src/arctic_nightmare/Field.java
+3
-3
3 additions, 3 deletions
Arctic_Nigthmare/src/arctic_nightmare/Field.java
Arctic_Nigthmare/src/arctic_nightmare/Person.java
+1
-1
1 addition, 1 deletion
Arctic_Nigthmare/src/arctic_nightmare/Person.java
with
4 additions
and
4 deletions
Arctic_Nigthmare/src/arctic_nightmare/Field.java
+
3
−
3
View file @
f6f17e35
...
@@ -69,7 +69,7 @@ public abstract class Field {
...
@@ -69,7 +69,7 @@ public abstract class Field {
{
{
snow
-=
layers
;
snow
-=
layers
;
if
(
0
>
snow
)
snow
=
0
;
if
(
0
>
snow
)
snow
=
0
;
Logger
.
Log
(
">>Letakarítva "
+
layers
+
" réteg hó. Még "
+
snow
+
" réteg van."
,
Logger
.
colors
.
GREEN
);
Logger
.
Log
(
">>Letakarítva "
+
layers
+
" réteg hó. Még "
+
snow
+
" réteg van."
);
Logger
.
decreaseTabs
();
Logger
.
decreaseTabs
();
return
true
;
return
true
;
}
}
...
@@ -97,10 +97,10 @@ public abstract class Field {
...
@@ -97,10 +97,10 @@ public abstract class Field {
Logger
.
LogAndIncreaseTabs
(
"Field getItem"
);
Logger
.
LogAndIncreaseTabs
(
"Field getItem"
);
if
(
snow
>
0
||
item
==
null
)
if
(
snow
>
0
||
item
==
null
)
{
{
Logger
.
Log
(
">>Túl sok hó, vagy nincs tárgy"
,
Logger
.
colors
.
RED
);
Logger
.
Log
(
">>Túl sok hó, vagy nincs tárgy"
);
return
null
;
return
null
;
}
}
Logger
.
Log
(
">>Item removed"
,
Logger
.
colors
.
GREEN
);
Logger
.
Log
(
">>Item removed"
);
Item
item
=
this
.
item
;
Item
item
=
this
.
item
;
this
.
item
=
null
;
this
.
item
=
null
;
Logger
.
decreaseTabs
();
Logger
.
decreaseTabs
();
...
...
This diff is collapsed.
Click to expand it.
Arctic_Nigthmare/src/arctic_nightmare/Person.java
+
1
−
1
View file @
f6f17e35
...
@@ -58,7 +58,7 @@ public class Person {
...
@@ -58,7 +58,7 @@ public class Person {
public
void
die
()
public
void
die
()
{
{
Logger
.
LogAndIncreaseTabs
(
"Person("
+
name
+
") die"
,
Logger
.
colors
.
RED
);
Logger
.
LogAndIncreaseTabs
(
"Person("
+
name
+
") die"
);
Logger
.
decreaseTabs
();
Logger
.
decreaseTabs
();
}
}
...
...
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