nyert/vesztett

yes
This commit is contained in:
bance
2023-03-29 15:49:35 +02:00
parent bdfb0ec0d0
commit 578472e785
6 changed files with 696 additions and 674 deletions

View File

@@ -11,6 +11,8 @@ public class Source : MonoBehaviour
private movement movement;
public GameObject sourceSprite;
private Ugynok ugynok;
private jatekmanager jatekmanager;
private bool oneTime = false;
@@ -29,6 +31,7 @@ public class Source : MonoBehaviour
private void Update() {
if(isNyitva && oszlop != -1 && sor.Count == 1) {
sourceRender(oszlop, sor[0]);
if (!oneTime) {
for (int i = 0; i < 3; i++)
{
@@ -36,6 +39,7 @@ public class Source : MonoBehaviour
}
printSourceLocation();
oneTime = true;
jatekmanager.JatekosVesztett();
}
}
}