daily update on 20230413 by nitload youmu
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace StgSharp.Entities
|
||||
{
|
||||
public abstract class BehaviorArgs
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace StgSharp
|
||||
set { _bulletSample = value; }
|
||||
}
|
||||
|
||||
internal virtual void Launch(Counter<uint> outerTickCounter, LinkedList<IEntity> container)
|
||||
internal virtual void Launch( )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user