Skip to content
Snippets Groups Projects
Commit 7709a74b authored by Näivö Jimi Sebastian's avatar Näivö Jimi Sebastian
Browse files

!KESKEN! hahmojen paikat

parent ba2db310
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,11 @@ public class SimulaattoriPeli : PhysicsGame
Hahmot = new GameObject(450, 1000, Shape.Rectangle); //Luo Hahmojen alueen
Hahmot.Color = Color.Pink; //Hahmojen valinta alueen väri
Hahmot.Position = new Vector(-750, 0); //Hahmojen alueen sijainti
Add(Hahmot); //lisää hahmojen alueen
Add(Hahmot); //lisää hahmojen alueen
HahmotPaikka = new GameObject(100, 100, Shape.Circle); //Luo hahmojen paikat
HahmotPaikka.Color = Color.White; //Hahmojen paikka väri
Hahmot.Add(HahmotPaikka); KESKEN
Label hahmotOtsikko = new Label("Characters"); //teksti hahmojen alueelle
hahmotOtsikko.TextColor = Color.Black; // tekstin väri
......
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