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
rikantos
ohj1ht
Commits
c1499630
Commit
c1499630
authored
3 weeks ago
by
Rönkä Riku Antti Oskari
Browse files
Options
Downloads
Plain Diff
Muutoksia
parents
4dab41bc
3b484e77
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Harjoitustyo/PinguLaskettelee/PinguLaskettelee/PinguLaskettelee.cs
+9
-0
9 additions, 0 deletions
...tyo/PinguLaskettelee/PinguLaskettelee/PinguLaskettelee.cs
with
9 additions
and
0 deletions
Harjoitustyo/PinguLaskettelee/PinguLaskettelee/PinguLaskettelee.cs
+
9
−
0
View file @
c1499630
...
...
@@ -144,6 +144,9 @@ public class PinguLaskettelee : PhysicsGame
}
/// <summary>
/// TODO Lisätään tähän matkalaskurin sun muut hilavitkuttimet
/// </summary>
private
void
LisaaLaskuri
()
{
sydanLaskuri
=
LuoLaskuri
();
...
...
@@ -199,6 +202,10 @@ public class PinguLaskettelee : PhysicsGame
}
/// <summary>
/// Luodaan tietyn väliajoin päivittävä laskuri,
/// joka kutsuu Laskin aliohjelmaa, intervallin välein
/// </summary>
private
void
Update
()
{
ajastin
=
new
Timer
();
...
...
@@ -437,6 +444,7 @@ public class PinguLaskettelee : PhysicsGame
private
void
TormaysTahti
(
PhysicsObject
pelaaja
,
PhysicsObject
tahti
)
{
//TODO Lisää tähtisysteemit
//tahtiMaara += 1;
//tahti.Destroy();
}
...
...
@@ -479,6 +487,7 @@ public class PinguLaskettelee : PhysicsGame
/// </summary>
private
void
Restart
()
{
ClearAll
();
_pingunSydamet
=
SydantenMaksimi
;
Begin
();
...
...
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