chore(release): prepare public source release
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\FixtureSupport\FixtureSupport.csproj" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<AssemblyName>GameAssembly</AssemblyName>
|
||||
<DebugType>none</DebugType>
|
||||
<RootNamespace>Game</RootNamespace>
|
||||
<LangVersion>latest</LangVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,65 @@
|
||||
using MercuryFixture.Support;
|
||||
|
||||
namespace Game.UI.Windows.Windows
|
||||
{
|
||||
public class SpaceCraftConstructionWindow : LaunchVehicleBase, ILaunchable
|
||||
{
|
||||
private int _buildTicks;
|
||||
private static int GlobalProjects;
|
||||
|
||||
public string ProjectName { get; private set; } = "Mercury";
|
||||
|
||||
internal int QueueDepth { get; set; }
|
||||
|
||||
public bool Completed => _buildTicks > 100;
|
||||
|
||||
public void StartProject(int units, string tag)
|
||||
{
|
||||
_buildTicks += units;
|
||||
ProjectName = tag;
|
||||
GlobalProjects += 1;
|
||||
}
|
||||
|
||||
private int FinishProject(bool instant)
|
||||
{
|
||||
if (instant)
|
||||
{
|
||||
_buildTicks = 999;
|
||||
}
|
||||
|
||||
return _buildTicks;
|
||||
}
|
||||
|
||||
public override string StartLaunch(int count)
|
||||
{
|
||||
return base.StartLaunch(count);
|
||||
}
|
||||
}
|
||||
|
||||
public class SpaceCraftProjectWindow
|
||||
{
|
||||
public void QueueVehicle()
|
||||
{
|
||||
}
|
||||
|
||||
internal void CancelProject()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class SpaceCraftInfoWindow
|
||||
{
|
||||
public int BuildProgress { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
namespace Data
|
||||
{
|
||||
public struct SpacecraftConstructData
|
||||
{
|
||||
public float buildTime;
|
||||
public float progress;
|
||||
|
||||
public string VehicleName { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user