Skip to content
Snippets Groups Projects
Commit d28cb967 authored by jutalapp's avatar jutalapp
Browse files

Päivitä versio

parent aff8b2c7
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ using kivi_sakset_paperi.luokat;
namespace kivi_sakset_paperi;
/// @author Jukka-Pekka Lappalainen
/// @version 27.10.2023
/// @version 27.11.2023
/// <summary>
/// Virtuaalinen kivi-sakset-paperi
/// </summary>
......@@ -14,7 +14,7 @@ public class kivi_sakset_paperi : Game
private const int KUVIEN_LKM = 3;
private Image[] aseet;
private GameObject[] oliot;
private Label palauteTeksti, otsikkoTeksti;
private Label palauteTeksti, otsikkoTeksti, pistetaulukko;
public override void Begin()
{
......@@ -23,7 +23,7 @@ public class kivi_sakset_paperi : Game
}
/// <summary>
/// Alustaa eventit.
/// Alustaa eventit.
/// </summary>
private void AlustaEventit()
{
......@@ -56,7 +56,12 @@ public class kivi_sakset_paperi : Game
{
Position = new Vector(0, 100)
};
pistetaulukko = new Label("Voitot: 0 Häviöt: 0")
{
Position = new Vector(0,-300),
};
Add(palauteTeksti);
Add(pistetaulukko);
}
/// <summary>
......
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