You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
293 B

extends "../base.gd"
func _init(emitter, _signal: String, context: String) -> void:
self.context = context
self.success = emitter.get_meta("watcher").watching[_signal].emit_count <= 0
self.result = "Signal: %s was %s emitted from %s" % [_signal, ("not" if self.success else ""), emitter]