Changeset 1748
- Timestamp:
- 2011-06-08 12:16:28 (11 years ago)
- Location:
- 2011/23/mikmatla
- Files:
-
- 19 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/23/mikmatla/pinkiponki/FysiikkaPeli1/FysiikkaPeli1/Peli.cs
r1730 r1748 38 38 Label kohta1 = new Label("Aloita uus peli"); 39 39 kohta1.Position = new Vector(0, 50); 40 kohta1.TextColor = Color.Wheat; 40 41 ValikonKohdat.Add(kohta1); 41 42 42 43 Label kohta2 = new Label("Lopeta"); 43 44 kohta2.Position = new Vector(0, -30); 45 kohta2.TextColor = Color.Wheat; 44 46 ValikonKohdat.Add(kohta2); 45 47 … … 92 94 IntMeter LuoPisteLaskuri(double x, double y) 93 95 { 94 IntMeter laskuri = new IntMeter( 10);96 IntMeter laskuri = new IntMeter(5); 95 97 laskuri.MaxValue = 998; 96 98 Label naytto = new Label(); … … 161 163 void AloitaPeli() 162 164 { 163 Vector impulssi = new Vector( -200.0, -200.0);165 Vector impulssi = new Vector(300,150); 164 166 pallo.Hit(impulssi); 165 167 }
Note: See TracChangeset
for help on using the changeset viewer.