More russian roulette setup
This commit is contained in:
@@ -3,8 +3,9 @@ using Sandbox;
|
||||
|
||||
namespace LuckerGame.Components.Lucker.Cameras;
|
||||
|
||||
public abstract class AbstractCamera : EntityComponent<Entities.Lucker>
|
||||
public abstract class AbstractCamera : EntityComponent<Entities.Lucker>, ISingletonComponent
|
||||
{
|
||||
public virtual bool ShouldShowCursor => false;
|
||||
protected Vector3 CameraPosition { get; set; }
|
||||
protected Rotation CameraRotation { get; set; }
|
||||
protected float FieldOfView { get; set; }
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace LuckerGame.Components.Lucker.Cameras;
|
||||
/// </summary>
|
||||
public partial class RTSCamera : AbstractCamera, ISingletonComponent
|
||||
{
|
||||
public override bool ShouldShowCursor => true;
|
||||
private const float MaxDistance = 400f;
|
||||
private const float MinDistance = 200f;
|
||||
private const float Speed = 4f;
|
||||
|
||||
Reference in New Issue
Block a user