Skip to content
Snippets Groups Projects
Commit d99535e5 authored by Lahtinen Thomas's avatar Lahtinen Thomas
Browse files

toimiikotääplease

parents 5486ae7a 1d561fb9
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,16 @@ public class Ht : PhysicsGame
LuoVihollinen(_vihollistenSijainnit[randomIndex]);
}
}
if (_pisteLaskuri.Value >= 250)
{
MultiSelectWindow valikko = new MultiSelectWindow("Voitit pelin!",
"Aloita uusi peli", "Lopeta");
valikko.ItemSelected += PainettiinValikonNappia;
Add(valikko);
}
}
......@@ -303,8 +313,13 @@ public class Ht : PhysicsGame
/// <summary>
/// Päähenkilö saadaan liikkumaan
/// </summary>
<<<<<<< HEAD
/// <param name="nopeus">broidin nopeus</param>
private void Liikuttaa(Vector nopeus)
=======
/// <param name="nopeus">broidin nopeus</param>asad sd
void Liikuttaa(Vector nopeus)
>>>>>>> 1d561fb956afcf30a11d9a6ce755c73022ee1f12
{
_broidi.Velocity = nopeus;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment