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

lisätty nappi, josta voi avata hahmolle info boksin, kesken

parent abacb719
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ public class SimulaattoriPeli : PhysicsGame
Näppäimet();
Pohja();
HahmotKuvakkeet();
HahmoInfot();
}
private void AlkuAsetukset() //asetukset
......@@ -116,6 +117,26 @@ public class SimulaattoriPeli : PhysicsGame
GiantKuva.Position = new Vector(-850, 300);
GiantKuva.Image.Scaling = ImageScaling.Nearest;
Add(GiantKuva);
}
private void HahmoInfot()
{
PushButton GiantInfo = new PushButton(185, 185, "");
GiantInfo.Shape = Shape.Circle;
GiantInfo.Color = Color.Transparent;
GiantInfo.BorderColor = Color.Transparent;
GiantInfo.Position = new Vector(-850, 300);
Add(GiantInfo, 3);
GiantInfo.Clicked += delegate
{
};
}
}
......@@ -124,6 +145,7 @@ public class SimulaattoriPeli : PhysicsGame
// TO DO LISTA
// HAHMOJEN SUUNNITTELU, STATISTIIKKA, VÄRIMAAILMA, KOKO (GIANT JA DWARF), (KAIKKI TEKEE)
// HAHMOJEN TEKO (KAIKKI TEKEE)
......
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