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
@@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Entities
{
public abstract class BehaviorArgs
{
}
}
+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();
}
+4 -9
View File
@@ -18,19 +18,14 @@ 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();
}
public override void OnRender()
internal override void OnRenderFrame()
{
throw new NotImplementedException();
}
public override void OnUpdate()
{
throw new NotImplementedException();
CommonBulletLauncher.Launch();
}
}
}
+1 -1
View File
@@ -23,7 +23,7 @@ namespace StgSharp
set { _bulletSample = value; }
}
internal virtual void Launch(Counter<uint> outerTickCounter, LinkedList<IEntity> container)
internal virtual void Launch( )
{
}
+1 -6
View File
@@ -7,12 +7,7 @@ namespace StgSharp
{
public class Partical : IEntity
{
public override void OnRender()
{
throw new NotImplementedException();
}
public override void OnUpdate()
internal override void OnRenderFrame()
{
throw new NotImplementedException();
}