Ability for enemies to shoot when controlled

This commit is contained in:
Marco 2025-02-25 17:29:24 +01:00
commit 2d6bcc5f00
10 changed files with 93 additions and 34 deletions

View file

@ -12,7 +12,7 @@ public partial class DamageReceiverActorModule : ActorModule
[Export]
public bool Invulnerable { get; private set; } = false;
[Export] protected BulletOwner BulletGroup { get; set; } = BulletOwner.None;
[Export] public BulletOwner BulletGroup { get; set; } = BulletOwner.None;
public override void Init(Actor actor)
{