From 0bba89a7858ce091f485e04284f853e1f7f304af Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Sun, 6 Aug 2023 17:21:45 +0100 Subject: Reformat --- code/pawn/component/camera/BaseCameraComponent.cs | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'code/pawn/component/camera/BaseCameraComponent.cs') diff --git a/code/pawn/component/camera/BaseCameraComponent.cs b/code/pawn/component/camera/BaseCameraComponent.cs index 401d702..b19b2f9 100644 --- a/code/pawn/component/camera/BaseCameraComponent.cs +++ b/code/pawn/component/camera/BaseCameraComponent.cs @@ -4,25 +4,23 @@ namespace MurderGame; public class BaseCameraComponent : EntityComponent, ISingletonComponent { - public virtual void Simulate( IClient cl ) { - } + public virtual void FrameSimulate( IClient cl ) { - } + public virtual void BuildInput() { - } public virtual InventoryComponent GetObservedInventory() { return Entity.Inventory; } - + public virtual float GetObservedHealth() { return Entity.Health; @@ -30,17 +28,17 @@ public class BaseCameraComponent : EntityComponent, ISingletonComponent public virtual Team GetObservedTeam() { - return Entity.Team; + return Entity.Team; } - + public virtual string GetObservedName() { var characterName = Entity.CharacterName; return string.IsNullOrWhiteSpace( characterName ) ? Entity.Client.Name : characterName; } - + public virtual string GetObservedColour() { - return Entity.HexColor; + return Entity.HexColor; } } -- cgit v1.2.3-70-g09d2