From ee21b1f53d3e633ab29f5b431d4aaeb3683a34c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?N=C3=A4iv=C3=B6=20Jimi=20Sebastian?= <jiminaivo@gmail.com>
Date: Wed, 27 Nov 2024 14:31:49 +0200
Subject: [PATCH] =?UTF-8?q?lis=C3=A4tty=20nappi,=20josta=20voi=20avata=20h?=
 =?UTF-8?q?ahmolle=20info=20boksin,=20kesken?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../SimulaattoriPeli/SimulaattoriPeli.cs      | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/SimulaattoriPeli/SimulaattoriPeli/SimulaattoriPeli.cs b/SimulaattoriPeli/SimulaattoriPeli/SimulaattoriPeli.cs
index 642cdef..cb8e4f5 100644
--- a/SimulaattoriPeli/SimulaattoriPeli/SimulaattoriPeli.cs
+++ b/SimulaattoriPeli/SimulaattoriPeli/SimulaattoriPeli.cs
@@ -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)
-- 
GitLab