Daily update on 20250618-051714 by Nitload Youmu. Additional Message : Brief support to collection operation in EXPRESS. A collection type added in core lib and compilestack.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-06-18 05:17:14 +08:00
parent 74c01effe4
commit c624a8ca38
300 changed files with 12227 additions and 4303 deletions
+3 -16
View File
@@ -28,7 +28,6 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
namespace StgSharp.Entities
{
public class Enemy : IEntity
@@ -39,23 +38,11 @@ namespace StgSharp.Entities
internal Launcher<EntityPartical> _dieBulletLauncher;
public bool _selectalbe;
public Launcher<EntityPartical> AwardLauncher
{
get;
set;
}
public Launcher<EntityPartical> AwardLauncher { get; set; }
public Launcher<EntityPartical> CommonBulletLauncher
{
get;
set;
}
public Launcher<EntityPartical> CommonBulletLauncher { get; set; }
public Launcher<EntityPartical> DieBulletLauncher
{
get;
set;
}
public Launcher<EntityPartical> DieBulletLauncher { get; set; }
public override void OnRenderFrame()
{
+10 -25
View File
@@ -42,29 +42,21 @@ namespace StgSharp
protected uint _bornTick;
internal Func<int, Vec3> _movHandler;
internal LinkedList<PlainGeometry> _collisionBox;
internal PlainGeometryCollisionSensor<PlainGeometry, PlainGeometry> _collisionSensor;
internal Point _basePoint;
internal Point _pos;
internal Point _position;
internal PlainGeometryCollisionSensor<PlainGeometry, PlainGeometry> _collisionSensor;
internal string _texture;
/// <summary>
/// X position of an enenmy entity
/// X position of an enenmy entity
/// </summary>
public float X
{
get;
set;
}
public float X { get; set; }
/// <summary>
/// Y position of an enemy entity
/// Y position of an enemy entity
/// </summary>
public float Y
{
get;
set;
}
public float Y { get; set; }
public LinkedList<PlainGeometry> CollisionBox
{
@@ -73,7 +65,7 @@ namespace StgSharp
}
/// <summary>
/// A sensor used for checking out if a bullet hit a player or something else
/// A sensor used for checking out if a bullet hit a player or something else
/// </summary>
public PlainGeometryCollisionSensor<PlainGeometry, PlainGeometry> CollisionSensor
{
@@ -81,20 +73,13 @@ namespace StgSharp
set => _collisionSensor = value;
}
public string TextureGL
{
get;
set;
}
public string TextureGL { get; set; }
/// <summary>
/// A 2D vector presenting the position of an enemy entity, position can also be visited by
/// X, Y
/// A 2D vector presenting the position of an enemy entity, position can also be visited
/// by X, Y
/// </summary>
public Vec2 Location
{
get;
}
public Vec2 Location { get; }
public abstract void OnRenderFrame();