updates
This commit is contained in:
parent
0cba7f5ee0
commit
32ed347b58
172 changed files with 5464 additions and 582 deletions
|
|
@ -23,6 +23,7 @@ var _threaded := false
|
|||
## The physics frame to wait for before the next check, so the bodies have moved with the cards.
|
||||
var _wait := -1
|
||||
var _checks := 0
|
||||
var _began := false
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
|
|
@ -52,7 +53,9 @@ func _init() -> void:
|
|||
func _process(_delta: float) -> bool:
|
||||
if _game == null or not _game.is_node_ready():
|
||||
return false
|
||||
if _steps == 0 and _played == 0:
|
||||
# Once: with --threaded, bot moves don't count as steps, so a step count can't tell.
|
||||
if not _began:
|
||||
_began = true
|
||||
_new_game()
|
||||
if Engine.get_physics_frames() < _wait:
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue