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
jimsebna
ohj1ht
Commits
b63a8086
Commit
b63a8086
authored
4 months ago
by
jimsebna
Browse files
Options
Downloads
Patches
Plain Diff
Pistin kommenteihin kesken eräsen jutun, pitäisi ajaa nytten.
parent
7709a74b
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
SimulaattoriPeli/SimulaattoriPeli/SimulaattoriPeli.cs
+3
-3
3 additions, 3 deletions
SimulaattoriPeli/SimulaattoriPeli/SimulaattoriPeli.cs
with
3 additions
and
3 deletions
SimulaattoriPeli/SimulaattoriPeli/SimulaattoriPeli.cs
+
3
−
3
View file @
b63a8086
...
@@ -47,9 +47,9 @@ public class SimulaattoriPeli : PhysicsGame
...
@@ -47,9 +47,9 @@ public class SimulaattoriPeli : PhysicsGame
Hahmot
.
Position
=
new
Vector
(-
750
,
0
);
//Hahmojen alueen sijainti
Hahmot
.
Position
=
new
Vector
(-
750
,
0
);
//Hahmojen alueen sijainti
Add
(
Hahmot
);
//lisää hahmojen alueen
Add
(
Hahmot
);
//lisää hahmojen alueen
HahmotPaikka
=
new
GameObject
(
100
,
100
,
Shape
.
Circle
);
//Luo hahmojen paikat
//
HahmotPaikka = new GameObject(100, 100, Shape.Circle); //Luo hahmojen paikat
HahmotPaikka
.
Color
=
Color
.
White
;
//Hahmojen paikka väri
//
HahmotPaikka.Color = Color.White; //Hahmojen paikka väri
Hahmot
.
Add
(
HahmotPaikka
);
KESKEN
//
Hahmot.Add(HahmotPaikka); KESKEN
Label
hahmotOtsikko
=
new
Label
(
"Characters"
);
//teksti hahmojen alueelle
Label
hahmotOtsikko
=
new
Label
(
"Characters"
);
//teksti hahmojen alueelle
hahmotOtsikko
.
TextColor
=
Color
.
Black
;
// tekstin väri
hahmotOtsikko
.
TextColor
=
Color
.
Black
;
// tekstin väri
...
...
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