mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-03 01:41:53 +08:00
187100f500
将多个子弹类型的forward调用统一到PresetsAI类中,提高代码复用性 删除LockLauncher.gd文件及部分场景文件中冗余的fields配置
5 lines
126 B
GDScript
5 lines
126 B
GDScript
class_name PresetsAI
|
|
|
|
static func forward(bullet: BulletBase, rotation: float):
|
|
bullet.forward(Vector2.from_angle(rotation))
|