Skip to content
Snippets Groups Projects
Commit f031f94d authored by Vesa Lappalainen's avatar Vesa Lappalainen :bicyclist:
Browse files

Luodaan 50 kolmiota

parent 6de0ecf9
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,10 @@ public class KolmionMetsastys : PhysicsGame
Level.Background.Color = Color.Black;
BoundingRectangle alaosa = new BoundingRectangle(new Vector(Level.Left, 0), Level.BoundingRect.BottomRight);
LuoSattunnainenKolmio(this, alaosa);
LuoSattunnainenKolmio(this, alaosa, 200);
for (int i = 0; i < 50; i++)
{
LuoSattunnainenKolmio(this, alaosa, 200);
}
PhoneBackButton.Listen(ConfirmExit, "Lopeta peli");
Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
......
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