Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ohj1ht
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
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jutalapp
ohj1ht
Commits
d28cb967
Commit
d28cb967
authored
1 year ago
by
jutalapp
Browse files
Options
Downloads
Patches
Plain Diff
Päivitä versio
parent
aff8b2c7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kivi-sakset-paperi/kivi-sakset-paperi.cs
+8
-3
8 additions, 3 deletions
kivi-sakset-paperi/kivi-sakset-paperi.cs
with
8 additions
and
3 deletions
kivi-sakset-paperi/kivi-sakset-paperi.cs
+
8
−
3
View file @
d28cb967
...
...
@@ -5,7 +5,7 @@ using kivi_sakset_paperi.luokat;
namespace
kivi_sakset_paperi
;
/// @author Jukka-Pekka Lappalainen
/// @version 27.1
0
.2023
/// @version 27.1
1
.2023
/// <summary>
/// Virtuaalinen kivi-sakset-paperi
/// </summary>
...
...
@@ -14,7 +14,7 @@ public class kivi_sakset_paperi : Game
private
const
int
KUVIEN_LKM
=
3
;
private
Image
[]
aseet
;
private
GameObject
[]
oliot
;
private
Label
palauteTeksti
,
otsikkoTeksti
;
private
Label
palauteTeksti
,
otsikkoTeksti
,
pistetaulukko
;
public
override
void
Begin
()
{
...
...
@@ -23,7 +23,7 @@ public class kivi_sakset_paperi : Game
}
/// <summary>
///
Alustaa eventit.
/// Alustaa eventit.
/// </summary>
private
void
AlustaEventit
()
{
...
...
@@ -56,7 +56,12 @@ public class kivi_sakset_paperi : Game
{
Position
=
new
Vector
(
0
,
100
)
};
pistetaulukko
=
new
Label
(
"Voitot: 0 Häviöt: 0"
)
{
Position
=
new
Vector
(
0
,-
300
),
};
Add
(
palauteTeksti
);
Add
(
pistetaulukko
);
}
/// <summary>
...
...
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