- Timestamp:
- 2014-06-10 15:10:42 (9 years ago)
- Location:
- 2013/24/MikaelJ
- Files:
-
- 11 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
2013/24/MikaelJ/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1.cs
r4933 r4945 35 35 36 36 { 37 Vihu vihu1 = new Vihu( 20, 20);37 Vihu vihu1 = new Vihu(100, 20); 38 38 vihu1.X = 30; 39 39 vihu1.Y = 10; 40 vihu1.Mass = 4.0; 41 Image vihu1kuva = LoadImage("norsu"); 42 vihu1.Image = vihu1kuva; 40 43 vihu1.ElamaLaskuri.Value--; 44 Add(vihu1); 41 45 46 RandomMoverBrain satunnaisAivot = new RandomMoverBrain(200); 47 48 //Ominaisuuksien muokkaaminen 49 satunnaisAivot.ChangeMovementSeconds = 3; 50 vihu1.Brain = satunnaisAivot; 42 51 43 52 } … … 62 71 kentta.SetTileMethod('#', LisaaTaso); 63 72 kentta.SetTileMethod('*', LisaaTahti); 73 kentta.SetTileMethod('V', Lisaavihu1); 64 74 kentta.SetTileMethod('P', LisaaPelaaja); 65 75 kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO);
Note: See TracChangeset
for help on using the changeset viewer.