fixing bugs meow
This commit is contained in:
parent
c969e0bee2
commit
4a9193e549
27 changed files with 370 additions and 40 deletions
|
|
@ -53,6 +53,13 @@ func filled_slots() -> int:
|
|||
count += 1
|
||||
return count
|
||||
|
||||
func empty_spots() -> int:
|
||||
var count : int = 0
|
||||
for slot in slots:
|
||||
if not slot.item:
|
||||
count += 1
|
||||
return count
|
||||
|
||||
func empty_grid():
|
||||
for slot in slots:
|
||||
slot.item = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue