Create FPS Test minigame with other shit

This commit is contained in:
Keenan Turley
2023-08-03 21:32:33 -07:00
parent bdb25fd3ce
commit 97a2442d03
15 changed files with 758 additions and 13 deletions

View File

@@ -13,6 +13,7 @@ public partial class Lucker : Entity
/// <summary>
/// The entity this Player currently controls
/// </summary>
[Net]
public Entity Pawn { get; set; }
/// <summary>
@@ -70,18 +71,20 @@ public partial class Lucker : Entity
public override void Simulate( IClient cl )
{
base.Simulate( cl );
Pawn?.Simulate(cl);
}
public override void FrameSimulate( IClient cl )
{
base.FrameSimulate( cl );
Camera?.Update();
Pawn?.FrameSimulate(cl);
}
public override void BuildInput()
{
base.BuildInput();
Camera?.BuildInput();
Pawn?.BuildInput();
}
}