added nametags

This commit is contained in:
mccarreon
2023-08-09 17:50:57 -07:00
parent bce1f8e1f7
commit bbf0a765d5
12 changed files with 129 additions and 37 deletions

View File

@@ -3,7 +3,7 @@ using System;
namespace LuckerGame.Components.Pawn;
public class PawnAnimator : EntityComponent<Entities.Racer>, ISingletonComponent
public class PawnAnimator : EntityComponent<Entities.Pawn>, ISingletonComponent
{
public void Simulate()
{

View File

@@ -5,7 +5,7 @@ using Sandbox;
namespace LuckerGame.Components.Pawn;
public partial class PawnInventory : EntityComponent<Entities.Racer>
public partial class PawnInventory : EntityComponent<Entities.Pawn>
{
[Net] private List<Weapon> Weapons { get; set; } = new List<Weapon>();
[Net, Predicted] public Weapon ActiveWeapon { get; private set; }

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace LuckerGame.Components.Pawn;
public class UserPawnController : EntityComponent<Entities.Racer>
public class UserPawnController : EntityComponent<Entities.Pawn>
{
public int StepSize => 24;
public int GroundAngle => 45;