Daily update on 20221104 by nitload youmu
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -13,8 +13,19 @@ namespace Debug
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine(typeof(PointOnLine).BaseType.ToString());
|
||||
MyClass a1=new MyClass();
|
||||
MyClass b1 = a1;
|
||||
|
||||
b1.MyProperty = 15;
|
||||
Console.WriteLine(a1.MyProperty);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class MyClass
|
||||
{
|
||||
public int MyProperty { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ClassDiagram />
|
||||
@@ -0,0 +1,247 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ClassDiagram MajorVersion="1" MinorVersion="1">
|
||||
<Class Name="StgSharp.Control.Bind" Collapsed="true">
|
||||
<Position X="23.25" Y="0.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Control\Bind.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Control.Create" Collapsed="true">
|
||||
<Position X="23.25" Y="1.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>ACAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAQgAA=</HashCode>
|
||||
<FileName>Control\Create.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Control.Pool" Collapsed="true">
|
||||
<Position X="25" Y="2.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAIgAAACAAAAAAAAgCAAAAAAAAAAAUAAgAAAAAAAAAA=</HashCode>
|
||||
<FileName>Control\Pool.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Geometry.Circle" Collapsed="true">
|
||||
<Position X="10" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>CApIgCACAAAQAACAAEQAAACAAAAAAAAAAEBAIAEIAAE=</HashCode>
|
||||
<FileName>Geometry\Circle.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Geometry.FreeCurve" Collapsed="true">
|
||||
<Position X="14.5" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAgAgBAAAAAgAAAAAAAAAAAAAAAAAABACAAAIAEIAAA=</HashCode>
|
||||
<FileName>Geometry\FreeCurve.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Geometry.a" Collapsed="true">
|
||||
<Position X="21.5" Y="0.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Geometry\IPoint.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Geometry.Line" Collapsed="true">
|
||||
<Position X="7.75" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAgAgAAAACAQAAAAAAQAAABACAAAABAABAAAIAABAAA=</HashCode>
|
||||
<FileName>Geometry\Line.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Geometry.PointCommon" Collapsed="true">
|
||||
<Position X="12.25" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>ABIAACAIAAQAAAAgAAAAIAAAAIBhAAIABEAAIABAYAE=</HashCode>
|
||||
<FileName>Geometry\PointCommon.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Geometry.PointOnCircle" Collapsed="true">
|
||||
<Position X="16.75" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAACAIAARAAAAAAAAAAAAAIAAAAQAAAEAAIAAAYAA=</HashCode>
|
||||
<FileName>Geometry\PointOnCircle.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Geometry.PointOnLine" Collapsed="true">
|
||||
<Position X="1" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAACAIAAQAQAAAAAAAAAAAAAAAIBAAAEAAIQABYAA=</HashCode>
|
||||
<FileName>Geometry\PointOnLine.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Entity.Bullet" Collapsed="true">
|
||||
<Position X="3.25" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>CAAIAAAIAAQAAAAAAAIAIAAAAAAAAAIAACAAIAAAYAA=</HashCode>
|
||||
<FileName>Entity\Bullet.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Entity.Enemy" Collapsed="true">
|
||||
<Position X="5.5" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAIAAQAAAAAAAIAIAAAAAAAAAIAACAAIAAAYAA=</HashCode>
|
||||
<FileName>Entity\Enemy.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Entity.Launcher" Collapsed="true">
|
||||
<Position X="25" Y="1.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAIUAQAAAAAIAIAAAAAAAAAAAAAACAAAAAAYAA=</HashCode>
|
||||
<FileName>Entity\Launcher.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Entity.Player" Collapsed="true">
|
||||
<Position X="21.5" Y="2.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAIABQCABAgABAAFQAAQQAIKAAAEAAEIAAAYAE=</HashCode>
|
||||
<FileName>Entity\Player.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Entity.Reward" Collapsed="true">
|
||||
<Position X="19" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>EAAAAgAIAAQAAAAAAAAECAAAIEAAAAAAgAAAIQAAYAA=</HashCode>
|
||||
<FileName>Entity\Reward.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Game.CoreInfo" Collapsed="true">
|
||||
<Position X="26.75" Y="0.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAEgAAAAAAAAAAAAAAAAEAAAAAAAAIIAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Game\CoreInfo.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Logic.Counter<T>" Collapsed="true">
|
||||
<Position X="21.5" Y="1.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>ABAAEAAAAAABAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAA=</HashCode>
|
||||
<FileName>Logic\Counter.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Logic.LinkedList" Collapsed="true">
|
||||
<Position X="3.75" Y="3.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAIAAAAgAIAAAAAAAAAABAACAAgAAAAABAAAhCEAAAA=</HashCode>
|
||||
<FileName>Logic\LinkedList.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Logic.LinkedObject" Collapsed="true">
|
||||
<Position X="10" Y="0.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>BgAAAAAAAAAAAgAAAAAAIAAAAAAAAAIgAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Logic\LinkedObject.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Logic.EntityContainer" Collapsed="true">
|
||||
<Position X="7.25" Y="4.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAIAAAAAjEgAAEAAQIQAACAAMAQgACACAIAAAAAA=</HashCode>
|
||||
<FileName>Pool\EntityContainer.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Logic.GeometryContainer" Collapsed="true">
|
||||
<Position X="0.5" Y="4.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAIAAAAAjEgAAEAAQIQAACAAMAQgACACAIAAAAAA=</HashCode>
|
||||
<FileName>Pool\GeometryContainer.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Logic.PointContainer" Collapsed="true">
|
||||
<Position X="2.75" Y="4.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAIAAAAAjEgAAEAAQIQAACAAMAQgACACAAAAAAAA=</HashCode>
|
||||
<FileName>Pool\PointContainer.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Pool.BulletPool" Collapsed="true" BaseTypeListCollapsed="true">
|
||||
<Position X="25" Y="0.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>ACAAEAAAAAAAIAAEAAAAAAABAAAAAiAAAAQEIIAAAAM=</HashCode>
|
||||
<FileName>Pool\BulletPool.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" Collapsed="true" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Pool.Collector" Collapsed="true">
|
||||
<Position X="5" Y="4.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAIAAAAAjEgAAEAAQIQAACQAMAQgACACAAAAAEAA=</HashCode>
|
||||
<FileName>Pool\Collector.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.Pool.PointPool" Collapsed="true" BaseTypeListCollapsed="true">
|
||||
<Position X="23.25" Y="2.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAgAAAIBAAAAIAAAAAAAAAABAACAACAAAAAAAYAAAAA=</HashCode>
|
||||
<FileName>Pool\PointPool.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" Collapsed="true" />
|
||||
</Class>
|
||||
<Class Name="StgSharp.UI.Option" Collapsed="true">
|
||||
<Position X="26.75" Y="1.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAACCAAAAAAQAAAAAEAAA=</HashCode>
|
||||
<FileName>UI\Option.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Interface Name="StgSharp.Geometry.IGeometry" Collapsed="true">
|
||||
<Position X="23.25" Y="3.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAgAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAA=</HashCode>
|
||||
<FileName>Geometry\IGeometry.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Interface>
|
||||
<Interface Name="StgSharp.Geometry.IPoint" Collapsed="true">
|
||||
<Position X="25" Y="3.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAIAAAYAA=</HashCode>
|
||||
<FileName>Geometry\IPoint.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Interface>
|
||||
<Interface Name="StgSharp.Logic.IContainer" Collapsed="true">
|
||||
<Position X="21.5" Y="3.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAIAAAAAAAAhAgAAAAAQAQAACAAIAAAACACAAAAAAAA=</HashCode>
|
||||
<FileName>Logic\IContainer.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Interface>
|
||||
<Interface Name="StgSharp.Pool.IPool" Collapsed="true">
|
||||
<Position X="26.75" Y="3.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAAAAAAIAAAAAAAAAABAAAAACAAAAAAAIAAAAA=</HashCode>
|
||||
<FileName>Logic\IPool.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Interface>
|
||||
<Enum Name="StgSharp.Pool.side" Collapsed="true">
|
||||
<Position X="21.5" Y="4.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAAAAAAABAAAAAAAAgAAAAIAAAAAAAAAAAAgAA=</HashCode>
|
||||
<FileName>Pool\Collector.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Enum>
|
||||
<Delegate Name="StgSharp.Geometry.ComplexOperationHandler" Collapsed="true">
|
||||
<Position X="21.5" Y="5.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Control\ComplexOperationHandler.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Delegate>
|
||||
<Delegate Name="StgSharp.UI.SelectEventHandler" Collapsed="true">
|
||||
<Position X="23.25" Y="5.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>UI\Option.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Delegate>
|
||||
<Font Name="Microsoft YaHei UI" Size="9.16" />
|
||||
</ClassDiagram>
|
||||
@@ -13,6 +13,8 @@ namespace StgSharp.Control
|
||||
{
|
||||
static public class Create
|
||||
{
|
||||
|
||||
|
||||
private static LinkedObject cache;
|
||||
|
||||
public static void Geometry(IPoint center, float radius, float angle, int num)
|
||||
@@ -71,5 +73,26 @@ namespace StgSharp.Control
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建一个简单点,并设置其
|
||||
/// </summary>
|
||||
/// <param name="beginX"></param>
|
||||
/// <param name="beginY"></param>
|
||||
/// <param name="angle"></param>
|
||||
/// <param name="x"></param>
|
||||
/// <param name="y"></param>
|
||||
public static void Point(float beginX,float beginY,float angle,float[] x, float[] y)
|
||||
{
|
||||
PointCommon p = new PointCommon(beginX, beginY, angle,Pool.tickCounter);
|
||||
p.XVelocity = x;
|
||||
p.YVelocity = y;
|
||||
PointPool.mainCotainer.Add(p);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,9 @@ namespace StgSharp.Control
|
||||
{
|
||||
public static class Pool
|
||||
{
|
||||
public static Counter<uint> tickCounter
|
||||
= new Counter<uint>();
|
||||
|
||||
internal static Collector topCollector
|
||||
=new Collector(side.top,1000);
|
||||
internal static Collector bottomCollector
|
||||
|
||||
@@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace StgSharp.Geometry
|
||||
{
|
||||
public class PointCommon : LinkedObject, IPoint
|
||||
internal class PointCommon : LinkedObject, IPoint
|
||||
{
|
||||
private readonly float x0;
|
||||
private readonly float y0;
|
||||
|
||||
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace StgSharp.Pool
|
||||
{
|
||||
internal class PointPool : IPool
|
||||
internal class PointPool:IPool
|
||||
{
|
||||
public static IContainer _topContainer;
|
||||
public static IContainer _bottomContainer;
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
<Content Include="TextFile1.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="ClassDiagram2.cd" />
|
||||
<None Include="OpenTK.dll.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -1 +1 @@
|
||||
76f5eaf647d5cdb61f503c89649a3cd3e872f683
|
||||
d816afe95034b978cb250201fa492ddd20eb00e6
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user