From 287cde8e27dc14dd051085c2d4a7eb8262962200 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 2 Dec 2024 23:17:30 -0500 Subject: [PATCH] basic scoring --- .gitignore | 1 + ...2c1cb54c-884e-46af-88be-dbb8b2b2cd87.vsidx | Bin 11869 -> 0 bytes ...6af12eb4-b31e-4107-84ad-4cdf8492e115.vsidx | Bin 2691 -> 0 bytes ...e07062da-369f-4b06-ac47-2208fc8c53f6.vsidx | Bin 3323 -> 0 bytes .vs/slots/FileContentIndex/read.lock | 0 .vs/slots/v17/.suo | Bin 22016 -> 23552 bytes SlotMachine.cs | 112 ++++++++++++++++-- SpinsUI.cs | 15 +++ Wheel.cs | 28 ++++- game.tscn | 50 +++++++- 10 files changed, 190 insertions(+), 16 deletions(-) delete mode 100644 .vs/slots/FileContentIndex/2c1cb54c-884e-46af-88be-dbb8b2b2cd87.vsidx delete mode 100644 .vs/slots/FileContentIndex/6af12eb4-b31e-4107-84ad-4cdf8492e115.vsidx delete mode 100644 .vs/slots/FileContentIndex/e07062da-369f-4b06-ac47-2208fc8c53f6.vsidx delete mode 100644 .vs/slots/FileContentIndex/read.lock create mode 100644 SpinsUI.cs diff --git a/.gitignore b/.gitignore index 0af181c..cd4dc5c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ # Godot 4+ specific ignores .godot/ /android/ +.vs/slots/FileContentIndex diff --git a/.vs/slots/FileContentIndex/2c1cb54c-884e-46af-88be-dbb8b2b2cd87.vsidx b/.vs/slots/FileContentIndex/2c1cb54c-884e-46af-88be-dbb8b2b2cd87.vsidx deleted file mode 100644 index 0b32014751d0e8edc21183edd559bee2897cdcb9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11869 zcmb`Mdz>Uyb;pN?WS0eb2Nc2Gc4ezzsP5^VnVqF)hrUyFySwP>y0y1%?`-d|G$NoP z2=Y)KLB>U8Q7|i_JVX&61cE3DLSl@5P%+WO)5KN3wV~jB$^DxmwW6tl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7w=?5pX9L5@B|HI>j~Ezi z{=&n("%Spins").Text = _spins + " spins"; + } + } + + public int Points + { + get + { + return _points; + } + set + { + _points = value; + GetNode