daily update on 20230413 by nitload youmu

This commit is contained in:
Nitload
2023-04-13 23:28:18 +08:00
parent 7d24d4e7b0
commit 0995a1c501
32 changed files with 179 additions and 35 deletions
+4 -4
View File
@@ -9,7 +9,7 @@ namespace StgSharp.Entities
public bool _selectalbe;
internal Launcher<EntityPartical> _awardLauncher;
internal LinkedList< Launcher<EntityPartical>> _commonBulletLauncher;
internal LinkedList<Launcher<EntityPartical>> _commonBulletLauncher;
internal Launcher<EntityPartical> _dieBulletLauncher;
public Launcher<EntityPartical> AwardLauncher { get; set; }
@@ -18,8 +18,8 @@ namespace StgSharp.Entities
internal void InternalDieOperation(Pool home)
{
_dieBulletLauncher.Launch(Control.GameTimeLine.tickCounter, home._bulletContainer);
_awardLauncher.Launch(Control.GameTimeLine.tickCounter, home._awardContainer);
_dieBulletLauncher.Launch();
_awardLauncher.Launch();
this._id.Remove();
}
@@ -28,7 +28,7 @@ namespace StgSharp.Entities
this.OnUpdate();
foreach (Launcher<EntityPartical> launcher in CommonBulletLauncher)
{
launcher.Launch(Control.GameTimeLine.tickCounter, Control.GameTimeLine._currentPool._bulletContainer);
launcher.Launch();
}
this.OnRender();
}