You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
328 B
Plaintext
16 lines
328 B
Plaintext
setup
|
|
handler_setup
|
|
set_process(true)
|
|
|
|
handler_setup(user)
|
|
attack hander = res.instance()
|
|
add_child(handler)
|
|
MB.subscribe("attacked", handler)
|
|
user.connect("hit", self, "handle attack result", [0, user])
|
|
user.connect("hit", ai, "hit")
|
|
|
|
handler teardown
|
|
disconnect signals
|
|
handler.queue_free
|
|
|