Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func is_dead() -> bool:
- if health <= 0:
- return true # yes, it is dead
- else:
- return false # no, it is not dead
- func is_dead() -> bool:
- result := health <= 0
- return result
- func is_dead() -> bool:
- return health <= 0
Advertisement
Add Comment
Please, Sign In to add comment