Figments-of-the-Night/addons/inkgd/runtime/content/ink_void.gd
Gerard Gascón b99855351d init
2025-04-24 17:23:34 +02:00

27 lines
785 B
GDScript

# ############################################################################ #
# Copyright © 2015-2021 inkle Ltd.
# Copyright © 2019-2022 Frédéric Maquin <fred@ephread.com>
# All Rights Reserved
#
# This file is part of inkgd.
# inkgd is licensed under the terms of the MIT license.
# ############################################################################ #
extends InkObject
class_name InkVoid
# ############################################################################ #
# GDScript extra methods
# ############################################################################ #
func is_ink_class(type: String) -> bool:
return type == "Void" || super.is_ink_class(type)
func get_ink_class() -> String:
return "Void"
func _to_string() -> String:
return "Void"