Changeset 9084 for 2017/30


Ignore:
Timestamp:
2017-07-25 12:30:33 (2 years ago)
Author:
nupeohje
Message:

Lisätty käsin eri koordinaatteihin useita syötäviä juttuja

Location:
2017/30/JouniP/Syomispeli/Syomispeli/Syomispeli
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 2017/30/JouniP/Syomispeli/Syomispeli/Syomispeli/Syomispeli.cs

    r9076 r9084  
    1111    public override void Begin() 
    1212    { 
    13         LuoOlio(Shape.Diamond, Color.Blue, 0.0, 0.0); 
     13        //LuoOlio(Shape.Diamond, Color.Blue, 0.0, 0.0); 
    1414 
    15         LuoOlio(Shape.Circle, Color.White, 100.0, 20.0); 
    16         LuoOlio(Shape.Rectangle, Color.Brown, 50.0, 150.0); 
     15        //LuoOlio(Shape.Circle, Color.White, 100.0, 20.0); 
     16        //LuoOlio(Shape.Rectangle, Color.Brown, 50.0, 150.0); 
    1717 
    18         LuoPallo(Color.Red, 50.0, 47.8); 
     18        LuoPallo(Color.White, 50.0, 47.8); 
     19        //LuoPallo(Color.Yellow, 30.0, 30.0); 
     20        //LuoPallo(Color.Yellow, 70.0, 80.0); 
     21        LuoSyotavaJuttu(10.0, 10.0); 
     22        LuoSyotavaJuttu(90.0, 90.0); 
     23        LuoSyotavaJuttu(100.0, 500.0); 
     24        LuoSyotavaJuttu(300.0, 400.0); 
     25        LuoSyotavaJuttu(200.0, 10.0); 
     26        LuoSyotavaJuttu(-200.0, 90.0); 
    1927 
    20         LuoPongmaila(200.0, 0.0); 
     28        Level.Background.CreateGradient(Color.Black, Color.Gray); 
     29        //LuoPongmaila(200.0, 0.0); 
    2130 
    2231        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
     
    4049    } 
    4150 
     51    void LuoSyotavaJuttu(double x, double y) 
     52    { 
     53        LuoOlio(Shape.Circle, Color.Yellow, x, y, 10.0, 10.0); 
     54    } 
     55 
    4256    void LuoPongmaila(double x, double y) 
    4357    { 
Note: See TracChangeset for help on using the changeset viewer.