Daily update on 20230413 by nitload youmu
This commit is contained in:
@@ -13,9 +13,9 @@ namespace StgSharp
|
||||
{
|
||||
internal LinkedList<Point> pointContainer;
|
||||
internal LinkedList<IGeometry> geometryContainer;
|
||||
internal LinkedList<Entity> _bulletContainer;
|
||||
internal LinkedList<Entity> _awardContainer;
|
||||
internal LinkedList<Entity> _enemyContainer;
|
||||
internal LinkedList<IEntity> _bulletContainer;
|
||||
internal LinkedList<IEntity> _awardContainer;
|
||||
internal LinkedList<IEntity> _enemyContainer;
|
||||
|
||||
internal Line leftBoader;
|
||||
internal Line rightBoader;
|
||||
@@ -45,9 +45,6 @@ namespace StgSharp
|
||||
|
||||
}
|
||||
|
||||
|
||||
ContainerNode<Pool> INode<Pool>.ID => _id;
|
||||
|
||||
public void OnRender()
|
||||
{
|
||||
foreach (Enemy e in _enemyContainer)
|
||||
@@ -56,17 +53,7 @@ namespace StgSharp
|
||||
}
|
||||
}
|
||||
|
||||
void INode<Pool>.setID(ContainerNode<Pool> id)
|
||||
{
|
||||
if (_id == default)
|
||||
{
|
||||
_id = id;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new ArgumentException("Cannot set ID twicee!");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user