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

live15 ennen static

parent bdfecf9c
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ public class Pallot : PhysicsGame
{
PhysicsObject p = Luo(this, 100, 100);
Lisaa();
pallo.Color = Color.Yellow;
this.pallo.Color = Color.Yellow;
Lisaa();
Vaihda(Color.Red);
Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
......@@ -30,7 +30,7 @@ public class Pallot : PhysicsGame
public void Lisaa()
{
pallo = Luo(this, x += 100, -200);
Luo(this, x += 100, -200);
}
......
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