Skip to content

Commit

Permalink
Downgrade language version
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Nov 27, 2023
1 parent b034304 commit d47dd38
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 14 additions & 1 deletion Spike.Client/InputVisualizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,21 @@

namespace Spike.Client;

class InputVisualizer(CGameCtnGhost ghost, string fileName, bool hasOlderTM, int index)
class InputVisualizer
{
private readonly CGameCtnGhost ghost;
private readonly string fileName;
private readonly bool hasOlderTM;
private readonly int index;

public InputVisualizer(CGameCtnGhost ghost, string fileName, bool hasOlderTM, int index)
{
this.ghost = ghost;
this.fileName = fileName;
this.hasOlderTM = hasOlderTM;
this.index = index;
}

public void VisualiseAsSteeringGraph()
{
if (ghost.PlayerInputs?.FirstOrDefault() is CGameCtnGhost.PlayerInputData inputData)
Expand Down
1 change: 0 additions & 1 deletion Spike.Client/Spike.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>1.1.0</Version>
<LangVersion>12</LangVersion>
</PropertyGroup>


Expand Down

0 comments on commit d47dd38

Please sign in to comment.