End of lesson 31

This commit is contained in:
2025-04-18 20:46:02 -03:00
parent f4e4de59f5
commit ffbbfd455e
8 changed files with 416 additions and 18 deletions

View File

@@ -3,3 +3,11 @@ extends Mob
class_name Player
@export var camera:Camera2D
func wouldCollideAt(destination):
if (super.wouldCollideAt(destination)):
#CommandDispatcher.DISPLAY_MESSAGE.emit("Your path is blocked.")
return true
else:
return false