Created
July 1, 2024 21:39
-
-
Save phnix-dev/1cb84ffe8b6263d1cfd53c4bbab36b99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class_name Gate | |
extends RefCounted | |
## Do not use | |
var _open: bool = true | |
func is_opened() -> bool: | |
return _open | |
func close() -> void: | |
_open = false | |
func open() -> void: | |
_open = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment