Kể từ khi nó FiringComponent của tháp, gây thiệt hại khủng long, đây là một logic
nơi để còn làm chậm khủng long, nếu cần thiết. Mở FiringComponent.swift
và xác định vị trí damageAction trong updateWithDeltaTime (_ :).
DamageAction là một SKAction mà thực hiện một khối đóng cửa. Bên trong sự đóng
damageAction, thêm vào như sau:
đang được dịch, vui lòng đợi..