mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
2D Character and weapons
This commit is contained in:
parent
072f6d0ce6
commit
cc9c4e5aa1
37 changed files with 1115 additions and 91 deletions
|
|
@ -75,6 +75,7 @@ public partial class FreezeModule : ModuleBase<PlayerState, CharacterBody2D>
|
|||
private List<Bullet> GetNearbyBullets()
|
||||
{
|
||||
return (from child in PoolingManager.Instance.GetAllActiveBullets()
|
||||
.Cast<Bullet>()
|
||||
where child is not null
|
||||
where child.Enabled // Could be redundant but better check in case of errors
|
||||
where child.BulletOwner is not BulletOwner.Player
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue